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 is defined as false sharing in the context of multithreading?

1045


How do you input a string in java?

1085


What is a lock or purpose of locks in java?

1030


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

964


How does thread synchronization occurs inside a monitor?

1103


how to create constants in java?

1087


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1323


What is the purpose of the system class in java?

1048


What is natural ordering in java?

963


Which of the following classes will have more memory allocated?

1017


What is downcasting?

1114


What is ‘has a’’ relationship in java?

1221


What is jit and its use?

991


Difference between final and effectively final ?

1109


What is blank final variable?

1068