What will happen when you attempt to compile and run the following code snippet?
String str1, str2;
HashMap map = new HashMap();
str1 = (String) map.put("Color", "White");
str2 = (String) map.put("Color", "Blue");
System.out.println("Color : " + str1 + " " + "Color : " + str2);
Why:It will print - Color : null Color : White ??
Thanks!!