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!
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!