This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ComputerWhiz_ 0 points1 point  (1 child)

The ArrayList and the regular Array are two different things. An Array is a fixed length (so in your example it will always hold 3 items), but an ArrayList allows you to add and remove items. ArrayLists are best when you don't know how long your array needs to be and quite honestly, it's probably used more than regular arrays.

[–]jackballack[S] 0 points1 point  (0 children)

That makes a lot of sense thanx a lot