Course[] course = { new Course("3", "离散数学"), new Course("4", "汇编语言") };
coursesToSelect.addAll(Arrays.asList(course));
Course temp3 = (Course) coursesToSelect.get(2);
这个是为了查看addAll()是否添加成功了
查看addAll()的方法有没有成功添加