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 Programmer Certification (SCJP/OCPJP) and the fly likes vector and array list 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "vector and array list" Watch "vector and array list" New topic
Author

vector and array list

vishnu hiranamayee
Greenhorn

Joined: Feb 23, 2006
Posts: 17
Hi
Both vector and arraylist are growable arrays and the differnece is vector is synchronized and arraylist is not synchronized.
How is synchronization done in vectors.
Kj Reddy
Ranch Hand

Joined: Sep 20, 2003
Posts: 1704
Duplicate of:
http://www.coderanch.com/t/379418/java/java/vector-array-list
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: vector and array list
 
Similar Threads
ConcurrentModificationException inside a synchronized method
elements inside arrays
performance : arraylist vs vector
what is the difference between arrays,vector and Array List?
Array List vs Vector