摘要:
public class Student { private int id; private String name; private int age; private String classNum; public Student() { } public Student(int id, String name, int age, ... 阅读全文
摘要:
1、有如下Student对象,属性如图所示: 其中classNum表示学生的班级编号,比如:class05 有如下List: List list = new ArrayList(); list.add(new Student(“Tom”, 18, 100, “class05”)); list.add 阅读全文