Which of the statements actually updatesmap?

map.put("food", "pie");map.get("food", "pie");map["food"] = "pie";map[1] = "pie";

Good stuff! The put() method updates, or replaces, the value for the key "food".

Oh noes! The put() method updates, or replaces, the value for the key "food".