Tagged: arraylist

linkedlist vs arraylist 0

When to use LinkedList and when to use ArrayList?

The ArrayList class extends AbstractList and implements the List interface. ArrayList supports dynamic arrays that can grow as needed. On the other hand The LinkedList class extends AbstractSequentialList and implements the List interface. It...