Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: How display the first elements and last elements of collection of objects?

    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.
  2. Re: How display the first elements and last elements of collection of objects?

    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.
  3. Re: How display the first elements and last elements of collection of objects?

    The index for the first one is 0 and the index for the last one is the size-1
  4. Re: How display the first elements and last elements of collection of objects?

    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?
Results 1 to 4 of 4