Google News
logo
Java - Interview Questions
Can you make HashMap synchronized?
Yes, we can make HashMap object synchronized using synchronizedMap() method as shown here :   
Collections.synchrnizedMap(new HashMap());
Advertisement