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 |
How a variable is stored in memory?
If there are two notepad opened and working on it . is this a process or thread? computer based Live Example to differentiate between Thread , Process , and Multi tasking ?
Is java call by reference?
What do you mean by formatting?
Why string is not thread safe?
Can the garbage collection be forced by any means?
What initialize variables?
How many inner classes can a class have?
What is main difference between variable and constant?
What is meant by JVM? Is JVM platform independent or not?
What is string literal in java?
Why put method is used?