how to make hashmap object as synchronized object?
Answer Posted / parishudh
Collections.synchronizedMap(<your hashmap reference>)
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Can an arraylist be empty?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Can we sort hashset in java?
What is anagram in java?
What is an enumeration?
Who is founder of java?
How do you define a method?
Is java a utf 8 string?
Why lambda expression is used in java?
What is multi level inheritance in java?
what are the disadvantages of indexes in oracle?
Implement a stack with push (), pop() and min() in O(1) time.
How do you find the absolute value?
What are streams in java 8?
What are different exception types exceptions available in java ?