My Tech World
public void displayMapContaint(Map<String, String> data) { for (Map.Entry<String, String> pair : data.entrySet()) { System.out.println("Key: " + pair.getKey() + " Data: "+ pair.getValue()); } }
Post a Comment
No comments:
Post a Comment