添加知识点:对象
集合对象存放的是一系列对象的引用。get
例:引用
Student S集合
Al.add(s);
s.setName(“lucy”);
Student s2=(Student)(al.get(o1));
可知s2也是s。