// using for-each loop for iteration over Map.entrySet() 
        for (Map.Entry<String,String> entry : gfg.entrySet())  
            System.out.println("Key = " + entry.getKey() + 
                             ", Value = " + entry.getValue());

https://www.geeksforgeeks.org/iterate-map-java/

results matching ""

    No results matching ""