ArrayList

Vector
1. No method is synchronized in the ArrayList class 1. All methods in Vector are synchronized.
2. ArrayList object is not thread safe. 2.  Vector is thread safe.
3. Relatively performance is high 3. Relatively performance is low
4. Introduced in 1.2 version and it is non legacy 4. Introduced in 1.0 version and it is legacy
Advertisements