ArrayList of Arrays for Interactive Shapes

An array is also an object and has a reference.

If you add() the same array to your ArrayList, you’ll end up w/ an ArrayList filled w/ 1 object only!

3 Likes