62,627
社区成员
发帖
与我相关
我的任务
分享
我做下标记,有空回来写 public static void main(String[] args){
Map m = new HashMap();
m.put(1, "one");
m.put(2, "two");
m.put(3, "three");
for(int i = 0; i < m.size();i++){
System.out.println(m.get(i+1));
}
}
}大致就这意思