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

Difference between java and javascript

1154


Can you inherit from an abstract class java?

1050


Give a practical example of singleton class usage?

1103


What is the difference between conversation & casting?

1096


How many bits is a char?

1046


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1297


Is heap stored in ram?

1019


Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

1139


How do you convert an int to a string in java?

1207


How to pass arraylist to stored procedure in java?

1275


What is classes in java?

988


What is autoboxing in java?

1115


How can you avoid serialization in child class if the base class is implementing the serializable interface?

1132


What is a line break?

1080


What's a method in programming?

1158