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
Define nashorn in java8.
Is there a way to increase the size of an array after its declaration?
How do you define a variable?
Why synchronization is important?
What is java util?
What is a type parameter in java?
Explain about the dynamic behavior of core java?
Can you sort a string in java?
What are constants and how to create constants in java?
Which collections are thread safe in java?
What mechanism does java use for memory management?
What’s the difference between unit, integration and functional testing?
What are the disadvantages of using inner classes?
Which collection allows duplicate values in java?
Explain illegalmonitorstateexception and when it will be thrown?