V

Vishal Gupta • 7.73K Points
Tutor III

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);

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.