public static void printStudent(Student[] s, int n) {
System.out.println("---------全部学生----------");
for (int i = 0; i < n; i++) {
String id = s[i].getId();
String name = s[i].getName();
int age = s[i].getAge();
System.out.println("学号为:" + id+",姓名为:" + name + ",年龄为:" + age);
}
}
public static void exit() {
System.out.println("----------------退出---------------");
System.out.println("您已退出系统");