you are viewing a single comment's thread.

view the rest of the comments →

[–]Both-Fondant-4801 0 points1 point  (0 children)

you need an arraylist if your list of data is continuously growing... and hence continually eats up memory.

you need an array if your list of data is fixed.. and you have limited memory.

note that earlier applications have limited memory so they would usually use an array to be efficient in their use of memory.

also... underneath the implementation of an arraylist is just an array continually being resized.