HashMap is not thread-safe, but can be wrapped using Collections.synchronizedMap() to obtain a synchronized wrapper. Option B correctly shows the syntax: Map m = Collections.synchronizeMap(hashMap); - note the class is Collections (plural), not Collection. Option A is incorrect because Collection.synchronizeMap doesn't exist.