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

What are the 4 types of research methods?

873


Write a program to reverse a number in java?

1040


Can memory leak in java?

982


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

952


Why arraylist is used in java?

1013


Is static a keyword in java?

917


What are nested classes in java?

1037


What is the lifetime and scope of a variable?

956


What is tostring () method?

950


Does windows 10 need java?

1004


What is a bubble sort in java?

898


How do you override a method in java?

951


What are the kinds of polymorphism?

1030


How many ways can an argument be passed to a subroutine and explain them?

963


Does java initialize arrays to zero?

960