import java.util.Iterator;
import java.util.ArrayList;
public class Test
{
public static void main(String[] args)
{
ArrayList array = new ArrayList();
arr.add(1);
arr.add(2);
arr.add(3);
Iterator it = arr.Iterator();
while(it.hasNext())
{
System.out.println(it.next());
}
}
}
请大家给把把脉,实在是谢谢了. |