GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java

 Print  |  
Question:  What is the difference between ArrayList and Vector otherthan arrayList is not synchronised but Vector is?



February 02, 2008 23:52:20 #9
 sampra J2EE Expert  Member Since: February 2008    Total Comments: 279 

RE: What is the difference between ArrayList and Vector otherthan arrayList is not synchronised but Vector is?
 

It is similar to ArrayList, but with two differences: Vector is synchronized, and it contains many legacy methods that are not part of the collections framework.

     

 

Back To Question