Multiple choice technology programming languages

It is not possible to make a hashmap synchronized. True/False?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

It is false to claim that a HashMap cannot be made synchronized. You can easily obtain a synchronized wrapper using Collections.synchronizedMap(new HashMap()) or use ConcurrentHashMap.