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...

what is the difference between ArrayList and Vector

Answer Posted / payel

I would like to answer this question as point...which would be easier to remember

1.Vector is synchronized whereas an arraylist is not synchronized
2.Vector is an object whereas an arraylist is a part of the collection framework
3.Vector has a default size of 10 whereas an arraylist has no default size
4.Vector requires an iterator to display its contents whereas an arraylist does not require any iterator
5.Vector defines an increment size whereas an arraylist does not define any increment size

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by tab pans?

1164


Explain the significance of class loaders in bootstrap?

904


What is the function of http?

987


What is the platform?

954


How do you empty a list in java?

935


What is the difference between and ?

959


Is set thread safe java?

876


What ide should I use for java?

977


What are different data types?

975


what is the constructor and how many types of constructors are used in java?

960


Can an interface be defined inside a class?

1024


List primitive java types?

989


What are the steps involved to write rmi based programs?

968


What is the purpose of methodology?

1037


Implement a stack with push (), pop() and min() in O(1) time.

1059