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

Answer Posted / srinu

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

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define nashorn in java8.

969


Is there a way to increase the size of an array after its declaration?

995


How do you define a variable?

891


Why synchronization is important?

975


What is java util?

972


What is a type parameter in java?

935


Explain about the dynamic behavior of core java?

1068


Can you sort a string in java?

853


What are constants and how to create constants in java?

929


Which collections are thread safe in java?

883


What mechanism does java use for memory management?

918


What’s the difference between unit, integration and functional testing?

1044


What are the disadvantages of using inner classes?

1054


Which collection allows duplicate values in java?

920


Explain illegalmonitorstateexception and when it will be thrown?

1034