3 ms·
This applies equally to ArrayList.
by sltkr 6y ago
This applies equally to ArrayList.
- mcculley 6y agoYes, but if you can use ArrayList, you can also use an array. If you want to be able to remove an object from the middle without moving objects around, you have no choice other than LinkedList and the extra references.