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 / kishore kumar naidu n

ArrayList Vector
1>. NOT synchronized 1>.Synchronized by Default
2>. Use only Iterator to 2>.Can use Iterator and Enumerator
access elements interface to access elements
3>. It increase it's size 3>.Default it double it's size
by 50% if it run out
off room
4>. No default size 4>.Default size is 10.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of value does sizeof return?

1009


What is nested top-level class?

1039


How do you sort in java?

986


What's the difference between int and integer in java?

1166


What are class members by default?

1084


What is a predicate method?

1018


What is the purpose of the return statement?

1059


How does predicate work in java?

992


Explain the concept of proper inheritance?

1068


What is collection class in java?

1010


What ide should I use for java?

1030


If an object is garbage collected, can it become reachable again?

1001


Is 64bit faster than 32 bit?

1072


What is the difference between JDBC 1.0 and JDBC 2.0?

3187


What are the differences between abstract class and interface?

1093