how to make hashmap object as synchronized object?
Answers were Sorted based on User's Feedback
Answer / parishudh
Collections.synchronizedMap(<your hashmap reference>)
| Is This Answer Correct ? | 12 Yes | 1 No |
what do you mean by marker interface in java?
How to use scanner in java?
How is java created?
How can you share data between two thread in Java?
What are the two types of java?
who can we create the object of a class? in how many ways we can create it (max 5)
Can an arraylist be empty?
Java run-time system generates What class of exceptions?
What is the difference between applet and application?
Why java is secure? Explain.
How to read and write image from a file ?
What will happen to the exception object after exception handling?