Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are the differences between ArrayList and Vector classes?

user-image
Question added by himanshu mittal
Date Posted: 2013/06/25

in java Vectors are synchronized, ArrayLists are not.
Data Growth Methods

L Bishwajit Sinha
by L Bishwajit Sinha , Trainee developer , Nex-g exuberrant solutions Pvt Ltd

In vectors there are synchronized objects but not in case of array list.
Moreover, array list is faster in performance then vectors.

performance wise ArrayList is way faster than Vector also Vector is safe for multi-threading while ArrayList is not

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.