- 博客(1)
- 收藏
- 关注
原创 定义一个数组列表
System.out.println("书号:" + entry.getKey() + ",书名:" + entry.getValue());map.put(3, "Head First 设计模式");map.put(1, "Java编程思想");//使用TreeSet实现自然排序。//使用Iterator遍历集合。//输出Map集合中的书号和书名。//移除索引为2的元素。1.定义一个数组列表。
2023-04-06 14:51:47 251 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人