This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread 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 Building Microservices this week in the Design 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: 4003
    
  18

Do you know what synchronized means?


The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Vector vs Arraylist
 
It's not a secret anymore!