This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
Question about VEctor
How to order my DB results using servlets??
is there any diff in arraylist n vector other then synchronization
Difference between ArrayList and Vector
what is the difference between arrays,vector and Array List?