Q. Which of the following is a valid syntax to synchronize the HashMap? (A) HashMap map =hashMap.synchronizeMap(); (B) Map m = hashMap.synchronizeMap(); (C) Map m2 = Collection.synchronizeMap(hashMap); (D) Map m1 = Collections.synchronizedMap(hashMap); ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (D) Map m1 = Collections.synchronizedMap(hashMap);