This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Vector vs Arraylist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Vector vs Arraylist" Watch "Vector vs Arraylist" New topic
Author

Vector vs Arraylist

anish jain
Ranch Hand

Joined: Feb 03, 2010
Posts: 129
I read the difference between Vector and Arraylist is that Vector is synchronized(actually it's methods) and Arraylist is not(actually it's methods).

Could you please give an example to explain this difference?
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3615
    
  14

Do you know what synchronized means?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Vector vs Arraylist