Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Differentiate Vector and ArrayList?

Answer Posted / pallavi thakare

a)Vector is a synchronized, where as an ArrayList is not
synchronized.
b)arraylist is not leggacy,it introduce JDK 1.7,where vector is leggacy.
c)arraylist uses iterator,where vector used enumration.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain scope or life time of local variables in java?

1023


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1163


How do you use substring in java?

1126


how would you implement a thread pool? : Java thread

904


What is methods and methodology?

1023


What are the two main uses of volatile in Java?

1054


Is null an object in java?

1027


How can you set an applet’s height and width as a percentage?

926


What are annotations in java?

1085


What is java abstraction with example?

1053


What is difference between null and void?

966


What is difference between array and vector?

1082


What is mvc in java?

1006


why are there separate wait and sleep methods? : Java thread

1016


What are the advantages of user defined functions?

990