Home > DeveloperSection > Interviews > What is the difference between ArrayList and Vector?

Posted on    May-11-2015 12:08 AM

 Java Java  Collection 
 1 Answer(s)
  358  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    May-11-2015 12:08 AM

1)ArrayList is not synchronized.
2)ArrayList is not a legacy class.
3)ArrayList increases its size by 50% of the array size.
1)Vector is synchronized.
2)Vector is a legacy class.
3)Vector increases its size by doubling the array size.

Don't want to miss updates? Please click the below button!

Follow MindStick