please help me this question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

26th Sep 2018, 10:24 AM
deepak sharma
deepak sharma - avatar
1 Answer
+ 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"));
26th Sep 2018, 10:30 AM
deepak sharma
deepak sharma - avatar