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


How to synchonise HashMap

Answers were Sorted based on User's Feedback



How to synchonise HashMap..

Answer / srinivasa

we can use to Collections.syncroniseMap() to synchronize
the HashMap

Is This Answer Correct ?    13 Yes 2 No

How to synchonise HashMap..

Answer / srinu

This is method for synchronise HashMap
Map m1=Collections.synchronizedMap(Map m)

Is This Answer Correct ?    10 Yes 0 No

How to synchonise HashMap..

Answer / yogesh sanas

Map map = Collections.synchronizedMap(new HashMap());

Is This Answer Correct ?    0 Yes 0 No

How to synchonise HashMap..

Answer / sreenu karampudi

Collections.synchroniseHashMap()

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More Core Java Interview Questions

Iterator in the HashMap is fail-safe means what?

9 Answers   CTS, IBM, Subex,


What is loop in java?

0 Answers  


What does arrays sort do in java?

0 Answers  


What are static methods?

0 Answers  


What is appletviewer?

0 Answers  


what are ER diagrams?

2 Answers  


How to make a method thread safe without using synchronized keyword?

8 Answers   Persistent, Societe Generale,


What is the difference between a checked and an unchecked exception?

0 Answers   Cyient,


How many types of equations are there?

0 Answers  


What is the purpose of the file class in java programming?

0 Answers  


How do you input a string in java?

0 Answers  


How GC (Garbage Collector) knows the objects reference is unused.Whether GC removes the unused object Parmanently or it maintains something.

2 Answers  


Categories