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 diff b/w arraylist and vector?

Answer Posted / aravind

1. Arraylist is not synchronized while vector is.
2. Arraylist has no default size while vector has a
default size of 10.
3. Arraylist don't define any increment size while vector
does.
4. Arraylist can be seen directly without any iterator
while vector requires an iterator to display all it's
content. (not very sure).

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a static member function access member variable of an object?

1057


How do I get 64 bit java?

1213


What is linked hashmap and its features?

1073


How many types of the indexof method are there for strings?

1019


What sorting algorithm does javascript use?

1031


When throws keyword is used?

1044


Is java util regex pattern thread safe?

1080


What do you understand by soft reference?

1101


Explain JMS in detail.

1070


What is meant by overloading?

1122


What does indexof mean?

1104


Can inner class final?

1157


What is the use of parseint in java?

1082


What is the purpose of object oriented programming?

1034


Is java still relevant?

1025