for (Map.Entry<String, String> entry : map.entrySet()) { System.out.println("key= " + entry.getKey() + " and value= " + entry.getValue()); }
for (String key : map.keySet()) { System.out.println("key= "+ key + " and value= " + map.get(key)); }
2022-01-03 00:32:37
for (Map.Entry<String, String> entry : map.entrySet()) { System.out.println("key= " + entry.getKey() + " and value= " + entry.getValue()); }
for (String key : map.keySet()) { System.out.println("key= "+ key + " and value= " + map.get(key)); }