Difference between Vector, ArrayList and LinkedList in Java

Vector:
  • It is synchronized
  • Fast access to elements using index
  • Optimized for storage space
  • Not optimized for inserts and deletes
ArrayList:
  • Same as Vector except the methods are not synchronized.  
  • Better performance
Linkedlist:
  • Fast inserts and deletes
  • Stacks and Queues (accessing elements near the beginning or end)
  • Not optimized for random access

Search: