I have 3 generic arrays which all have a pre-determined size of 25. For example, if its only 5 actual values in the array, it will display those 5, than the next 20 as null. I dont want to display any null values. Do I edit something in the toString? My toString is
public String toString(){
return Arrays.toString(container);
}
Container being an array object created from a constructor function. Here is what my output looks like..