File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes array list vs vector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "array list vs vector" Watch "array list vs vector" New topic

array list vs vector

bhuvi mdu

Joined: May 03, 2005
Posts: 17
I knew the following pts.:-

1) Vector is Synchronized and Array List is not
2) Vector Size grows beyond the limit, it will double the size whereas Array List increase 50% of size.

Can anyone say some more differences.

Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

The source code for both of these classes is located in, available with the JDK/SDK distribution you downloaded.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Open the JavaDocs side by side and see how they compare on features. Is there anything one can do that the other can't?

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: array list vs vector
It's not a secret anymore!