SyntaxFix
Write A Post
Hire A Developer
Questions
Inside of your loop, you have the key, which you can use to retrieve the value from the Map:
Map
for (String key: mss1.keySet()) { System.out.println(key + ": " + mss1.get(key)); }