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 will you reverse a singly-link list?

1051


What are desktop procedures?

1098


How many functional interfaces does java 8 have?

1080


What does the “static” keyword mean?

1167


Does java vector allow null?

1006


what do you mean by stream pipelining in java 8? Explain

1078


Which of the classes will have more memory allocated?

1019


What are local variables?

1093


Is static a keyword in java?

1029


What is local declaration?

1034


What is oop in java?

1163


How can constructor chaining be done using this keyword?

1334


What are 5 boolean operators?

1250


How to perform merge sort in java?

1118


How do you implement polymorphism in our day to day life?

3284