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