0
please help me this question
HashMap<String, String> m = HashMap<String, String>(); m.put("A", "First"); m. ("B", "Second"); System.out.println(m. ("B")); this is fill in the blanks
2 Answers
+ 1
the answer is
HashMap<String, String> m =
new HashMap<String, String>();
m.put("A", "First")
m.put ("B", "Second");
System.out.println(m.get ("B"));