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

Program to Find the second largest element in an array.

1128


What is the super void?

857


Can we execute a program without main?

980


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

938


What is flush buffer?

982


Explain tree set and its features?

1011


What are the java ide’s?

994


What sorting algorithm does javascript use?

948


What is the purpose of garbage collection in java?

1059


What are the super most classes for all the streams?

2449


What is identifier with example?

1014


Give reasons supporting that string is immutable.

903


Describe how to implement singleton design pattern in struts.

964


How do you reverse a string in java without using string buffer?

1057


What are the benefits of operations in java?

966