优化实验二注释

This commit is contained in:
2024-06-11 01:10:06 +08:00
parent 0272781cc3
commit 55b4de095f
+1
View File
@@ -11,6 +11,7 @@ public class WalkCollection {
// arrayListExample.add("bbb"); // arrayListExample.add("bbb");
// arrayListExample.add("ccc"); // arrayListExample.add("ccc");
// arrayListExample.add("ddd"); // arrayListExample.add("ddd");
// 展示运行结果前删下注释
// 使用迭代器iterator遍历arrayListExample集合 // 使用迭代器iterator遍历arrayListExample集合
Iterator itr = arrayListExample.iterator(); Iterator itr = arrayListExample.iterator();
while (itr.hasNext()) { while (itr.hasNext()) {