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

arraylist methods are synchronized.so all methods are thread
safe.performance is very low.it introduced in 1.2 ver
vector methods are non synchronized.so all methods are not
thread safe.performance is high.it introduced in 1.0 ver

Is This Answer Correct ?    5 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does the order of public and static declaration matter in main method?

1029


What does jenkins do?

863


What happens if main method is not static?

949


What are variable arguments or varargs?

958


How do I enable java in safari?

980


Can you instantiate the math class?

991


How can we use primitive data types as objects?

900


Can we override constructor in java?

1042


Which method must be implemented by all threads?

1194


Which is the best sorting technique in java?

930


What is dynamic binding(late binding)?

975


Is break statement can be used as labels in java?

911


Can we nested try statements in java?

1043


what is deadlock? : Java thread

942


What is a nested class?

1055