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...

which of tha following is not a thread safe class?
a) ArrayList b)Vector c)HashTable d)None

Answer Posted / gunjan

ArrayList is,unsynchronized, not thread safe, vectors r
thread safe and synchronized
if u want to make Arraylist as thread safe, should use
Collections class synchronizedList(List) method

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between path and classpath in java?

999


What is the formula to calculate percentage?

998


explain what is transient variable in java?

1102


What is an off by one error in java?

943


What is a function easy definition?

992


What is the escape character in java?

959


What is substring 1 in java?

1125


What is thread life cycle?

940


In the below example, how many string objects are created?

1032


What are the fileinputstream and fileoutputstream?

1038


What are static blocks and static initalizers in java ?

1054


Why method overriding is used?

1066


What is variable and constant explain with example?

1071


What is integer parseint?

972


How does hashmap work in java ?

1026