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 is a flag and how does it work?
What are the fileinputstream and fileoutputstream?
What is java reflection api?
Write a program to find the greatest of three numbers in java?
Is Java is 100% pure OOPS? Explain?
What is the format of Inner Class after it compiled?
Can we rethrow the same exception from catch handler?
Why we should declare the variables as static and final in interfaces?
List down the methods and interfaces of collection class in java.
What is an error in java?
Why does java doesnot support multiple inheritance?
how can u handle run time exception in java? explain with brief explanation with examples?