Mapmap=new HashMap<>();map.put("a", "a");map.put("b", "b");map.put("c", "c");map.put("d", "d");Set>st=map.entrySet(); Iterator>ig=st.iterator();
while(ig.hasNext()){
System.out.println(ig.next());
}
Mapmap=new HashMap<>();map.put("a", "a");map.put("b", "b");map.put("c", "c");map.put("d", "d");Set>st=map.entrySet(); Iterator>ig=st.iterator();
while(ig.hasNext()){
System.out.println(ig.next());
}