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

What is locale in java?

0 Answers  


What is meant by anonymous class?

0 Answers  


Explain the term serialization?

10 Answers   Wipro,


What is main string [] args?

0 Answers  


What are the types of web technologies?

0 Answers  






Which data type is a class in java?

0 Answers  


What is the core java?

0 Answers  


What is type safety in java?

0 Answers  


define System.out.println(); what is the meaning!

19 Answers   Accenture,


What is encapsulation? Elaborate with example?

1 Answers   BMC,


What is difference between jdk,jre and jvm?

0 Answers  


What steps are taken when the OS shifts from one-thread execution to another?

0 Answers   Amazon,


Categories