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

What is JFC?

1230


Can you pass by reference in java?

967


What is the static method?

1069


What is a loop java?

1049


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

1016


What is unicode used for?

1151


Can I declare class as static or private?

958


Is a method a function?

1050


Difference between arraylist and hashset in java?

1125


What are the steps involved to write rmi based programs?

1009


What is the longest unicode character?

1144


What is increment in java?

958


Can java inner class be static?

1013


what is the significance of listiterator in java?

1074


How do you compare arrays in java?

947