Yes, that is a way to fill in an array, except use the array's length attribute not a hardcoded value like 40.
My question about the code is why is it using an array instead of some Java...
Type: Posts; User: Norm
Yes, that is a way to fill in an array, except use the array's length attribute not a hardcoded value like 40.
My question about the code is why is it using an array instead of some Java...
Declaring an array of objects creates the structure with slots for instances of the class, but does NOT create the instances which means all the slots in the array have null values. You need to...