What collection you use to save a list of objects would depend on how the code needs to access that list and on other characteristics of the data being saved.
Type: Posts; User: Norm
What collection you use to save a list of objects would depend on how the code needs to access that list and on other characteristics of the data being saved.
Sorry, I don't understand what the problem is.
What happens when you compile and execute the code?
If the code is getting errors, copy the full text of the error message and paste it here.
The index for the first one is 0 and the index for the last one is the size-1
What class holds the collection of objects? What methods does that class have that would help you get the desired objects so you can display them?