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 / anitha

a)Vector is a synchronized, where as an ArrayList is not
synchronized.

b)when size is going to exceed, the ArrayList size is
double of it's size, where as Vector size is increase half
of its size.

except these two both r roughlt equal.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1189


Where is the find and replace?

1000


What do you know about the garbage collector in java?

1087


How many types of constructors are used in java?

1180


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

1058


What are the wrapped, classes?

1052


Why is java called the platform independent programming language?

1006


Can finally block be used without a catch?

1009


Which is best ide for java?

1040


Is this valid in java ? Can we instantiate interface in java?

978


Write a program based on Java script program.

1133


What happens to the Exception object after handling an exception?

2370


What are the steps involved to create a bean?

1155


What is a double vs float?

1007


What are the different types of sorting in java?

979