예제 #1
0
 public void assignStudentToUniversity(List<Student> students) {
   for (Student s : students) {
     s.setUniversity(this);
   }
 }
예제 #2
0
 public void changeYear() {
   for (Student st : this.students) {
     st.changeYear();
   }
 }