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

Why can we not override static method?

1063


What is the use of beaninfo?

980


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

990


What is difference between == equals () and compareto () method?

981


What is string in java? String is a data type?

956


What is the basic of java?

972


What are the differences between c++ and java?

1076


What is polymorphism in java? What are the kinds of polymorphism?

1005


How many bits is a boolean?

1033


What is volatile keyword in java

1070


Explain the use of shift operator in java. Can you give some examples?

914


What is meant by memory leak?

981


Name few java.lang classes introduced with java 8 ?

938


Where to store local variables?

1034


Can we write class inside a class in java?

920