My code works.. but this doesn't compile in Codegym. Btw why what is the difference in line 13 between
HashMap<String, String> map = new HashMap<String, String>();
and
Map<String, String> map = new HashMap<String, String>();
?