i want one question
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   raj_kumar
Posted On:   Monday, August 1, 2005 04:57 AM

what is main difference between arraylist and vector

Re: i want one question

Posted By:   rahul123  
Posted On:   Wednesday, December 18, 2013 11:19 PM

Vector is synchronized , 
ArrayList is not synchronized

Vector is threadSafe
Arrray list is not threadsafe

Performance of vector is low comparing to Arraylist

Re: i want one question

Posted By:   Anonymous  
Posted On:   Tuesday, August 30, 2005 10:02 AM

A Vector is synchronized, an ArrayList is not.

Re: i want one question

Posted By:   Anonymous  
Posted On:   Monday, August 1, 2005 07:59 AM

As you can see in the JavaDoc, Vector extends the ArrayList and implements some interfaces.
About | Sitemap | Contact