Collection c2 =new ArrayList();
Student s= new Student();
c2.add(s);
c2.add("我");
Iterator it = c2.iterator();
while (it.hasNext()) {
it.next();
Object object = (Object) it.next();
System.out.println(object);
}
输出结果为“我”,并没有s对象啊?