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 |
Can you pass by reference in java?
What is method overriding in java ?
write a program to create an vector with string(add,remove) operation.and value should be enter through keyboard.
What is character in data type?
What are bind parameters?
What is the main function in java?
Is break statement can be used as labels in java?
Write a program to print count of empty strings in java 8?
Differences between external iteration and internal iteration?
How do you override a method?
What comes to mind when someone mentions a shallow copy in java?
Is java owned by oracle?