3 ms·
Yes, 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
by mcculley 6y ago
Yes, 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.