Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What are the differences between ArrayList and Vector classes?

user-image
Question ajoutée par himanshu mittal
Date de publication: 2013/06/25

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

L Bishwajit Sinha
par 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.

Utilisateur supprimé
par Utilisateur supprimé

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

More Questions Like This