public void entry(){ Set <Entry<String,student>> entry=students.entrySet(); for (Entry<String, student> entry2 : entry) { System.out.println("取的键:"+entry.getkey());}}报错:The method getkey() is undefined for the type Set<Map.Entry<String,student>>之前的都没有这个情况啊?
添加回答
举报
0/150
提交
取消