If you do NOT know how many items will be input, then you'd better use an ArrayList.
When using an array you have to give it a fixed size when you define it. An ArrayList will grow as needed.
Type: Posts; User: Norm
If you do NOT know how many items will be input, then you'd better use an ArrayList.
When using an array you have to give it a fixed size when you define it. An ArrayList will grow as needed.
To return more than one value, you will have to package them into an array, a class or some kind of collection that you can return.
Or call the method multiple times with the information that it...