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

Explain the difference between map and flatmap stream operation?

1267


What are the main features of java?

972


What is tcp ip in java?

1115


What is outofmemoryerror in java?

1025


Is main an identifier?

1012


What is dynamic array in java?

1026


When will we use them?

1052


What is java volatile?

1049


Is 0 an irrational number?

1067


What is hashing in java?

1040


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

982


Can a class be declared as static?

1171


How do weakhashmap works?

1155


What is the applet security manager, and what does it provide?

996


What is the purpose of void?

996