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

how we can make a read-only class in java?

997


Why main() method is public, static and void in java ?

1104


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

1047


Write a program to check string is palindrome without using loop?

1038


Implement two stacks using a single array.

1071


Can we override protected method in java?

1068


How to create com object in Java?

1083


Is vector ordered in java?

1002


Which collection is best for sorting in java?

1128


worst case complexities of Quick sort and Merge sort.

1035


What is string english?

1020


what is meant wrapper classes?

1210


What is dynamic binding(late binding)?

1052


What is string data?

987


What is the purpose of a parameter?

1076