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 thread in Java ?
What is a pattern what is an anti pattern?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What do you mean by of string::valueof expression in java 8?
What is the difference between a static and a non-static inner class in java programming?
What is nullpointerexception?
Why can't we make a class private in java?
Difference between stack and queue?
What does replaceall do in java?
What are basic keywords?
What are different access specifiers in java?
What is difference between equal and == in java?
Why do we need array in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What is adapter in java?