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
What is the difference between the direct buffer and non-direct buffer in java?
Explain access specifiers?
What is anagram word?
Can a class have more than one object?
Why are global variables used?
Can java hashmap have duplicate keys?
What are the various access specifiers in java?
What is the mapping mechanism used by java to identify IDL language?
Which java collection does not allow null?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What is the meaning of find and replace?
What is tree in java?
Difference between object and reference?
How will you reverse a link list without using recursion?
What is the difference between a constructor and a method?