摘要:
public static void addStudent(ArrayList<Student> array) { Scanner sc = new Scanner(System.in); String sid; while (true) { System.out.println("请输入学生学号: 阅读全文
posted @ 2022-01-19 10:27
大灰狼21
阅读(288)
评论(0)
推荐(0)
摘要:
public static void updateStudent(ArrayList<Student> array) { Scanner sc = new Scanner(System.in); System.out.println("请输入你要修改的学生的学号:"); String sid = s 阅读全文
posted @ 2022-01-19 10:09
大灰狼21
阅读(118)
评论(0)
推荐(0)
摘要:
public static void deleteStudent(ArrayList<Student> array) { Scanner sc = new Scanner(System.in); System.out.println("请输入你要删除的学生的学号:"); String sid = s 阅读全文
posted @ 2022-01-19 10:00
大灰狼21
阅读(46)
评论(0)
推荐(0)
摘要:
public static void updateStudent(ArrayList<Student> array) { Scanner sc = new Scanner(System.in); System.out.println("请输入你要修改的学生的学号:"); String sid = s 阅读全文
posted @ 2022-01-19 09:46
大灰狼21
阅读(169)
评论(0)
推荐(0)
摘要:
public static void deleteStudent(ArrayList<Student> array) { Scanner sc = new Scanner(System.in); System.out.println("请输入你要删除的学生的学号:"); String sid = s 阅读全文
posted @ 2022-01-19 09:31
大灰狼21
阅读(130)
评论(0)
推荐(0)
摘要:
public static void findAllStudent(ArrayList<Student> array) { if (array.size() == 0) { System.out.println("无信息,请先添加信息再查询"); return; } System.out.print 阅读全文
posted @ 2022-01-19 09:19
大灰狼21
阅读(33)
评论(0)
推荐(0)
摘要:
\t是TAB键的意思 public static void findAllStudent(ArrayList<Student> array) { System.out.println("学号\t\t\t姓名\t\t年龄\t\t居住地"); for (int i = 0; i < array.size 阅读全文
posted @ 2022-01-19 09:10
大灰狼21
阅读(86)
评论(0)
推荐(0)
摘要:
public static void addStudent(ArrayList<Student> array) { Scanner sc = new Scanner(System.in); System.out.println("请输入学生学号:"); String sid = sc.nextLin 阅读全文
posted @ 2022-01-19 08:37
大灰狼21
阅读(351)
评论(0)
推荐(0)
摘要:
while (true) { System.out.println(" 欢迎来到学生管理系统 "); System.out.println("1 添加学生"); System.out.println("2 删除学生"); System.out.println("3 修改学生"); System.ou 阅读全文
posted @ 2022-01-19 08:11
大灰狼21
阅读(79)
评论(0)
推荐(0)
摘要:
快捷键ALT+Insert 也可以在代码里右键,选Generate 选Constructor是生成构造方法 直接点【Select None】是生成无参构造 按住shift点【address:String】,也就是把所有成员变量选中,然后点ok,就生成4个参数的构造方法,想选中其中几个,就按住ctrl 阅读全文
posted @ 2022-01-19 07:54
大灰狼21
阅读(1603)
评论(0)
推荐(0)

浙公网安备 33010602011771号