aspose file tools*
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
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: 3649
    
  17

Do you know what synchronized means?
 
 
subject: Vector vs Arraylist