标签:tor main out ati next 遍历 [] rgs sys
package com.yikuan.cn;
import java.util.ArrayList;
import java.util.Iterator;
public class Test {
public static void main(String[] args) {
ArrayList<String> a = new ArrayList<>();
a.add("aaa");
a.add("bbb");
a.add("ccc");
a.add("ddd");
a.add("eee");
a.add("fff");
Iterator<String> b = a.iterator();
while((b.hasNext())){
System.out.println(b.next());
}
}
}
标签:tor main out ati next 遍历 [] rgs sys
原文地址:https://www.cnblogs.com/yikuan-919/p/9495858.html