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 / yogesh sanas

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you check whether the list is empty or not in java?

932


What is meant by the value of a variable?

875


Can It is possible to synchronize the constructor of a Java Class?

1055


Which is better stringbuilder or stringbuffer?

888


What are new features introduced with java 8 ?

943


Explain how to force the garbage collection in java.

930


What is udp in java?

940


Explain the importance of import keyword in java?

965


How does hashset works in java?

1024


Justify your answer that you can't define a method inside another method in java, if you can then how?

1100


Can I declare class as static or private?

930


What are the types of exceptions?

1003


How many bytes is a string?

1094


What is difference between arraylist and list in java?

1032


What is navigable map in java?

951