File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
elements inside arrays
Array List vs Vector
what is the difference between arrays,vector and Array List?
performance : arraylist vs vector
ConcurrentModificationException inside a synchronized method