Eclipse在调试过程中修改变量值
public class Test6 {
public static void main(String[] args) {
Map<String,String> map = new HashMap<String,String>();
map.put("name","zhangsan");
map.put("age","20");
map.put("tel","15229895142");
Iterator<Map.Entry<String,String>> entries = map.entrySet().iterator();
while (entries.hasNext()) {
Map.Entry<String,String> entry = entries.next();
System.out.println("Key = " + entry.getKey() + ", Value = " + entry.getValue());
}
}
}