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
How does arraylist size increase in java?
What is an interface in java?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What is the main function in java?
What is the use of predicate in java 8?
Explain a situation where finally block will not be executed?
How do I remove a character from a string in java?
Can we call a non-static method from inside a static method?
Can you use this() and super() both in a constructor?
Why we use methods in java?
What is the purpose of the file class in java programming?
How do you sort data in java?
What is difference between static class and singleton pattern?
Are arrays dynamic in java?
How hashmap works in java?