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

How many characters is 16 bytes?

941


What does java se mean?

964


How can you read content from file in java?

961


What is collection class in java? List down its methods and interfaces.

896


Is a method a function?

1001


What is the use of join method?

961


What is final method in java?

965


What is the purpose of lambda expressions?

996


What about features of local inner class?

1008


What is formatted output?

894


How many bits is a boolean?

1029


What are java annotations?

1062


What is the full form of jpeg?

897


What is ph and buffers?

936


What is a condition in programming?

957