Difference between ArrayList and Vector


There are main two difference between ArrayList and Vector
1. Synchronization: ArrayList is not synchronized , but Vector is synchronized.
Because ArraList is not synchronized so it is not thread safe. Vector is thread safe.
Because Vector is thread safe, in terms of performance Vector is slower than ArrayList.

2. Data size Increament: ArrayList increase its size 50% whereas Vector increase its size as double.