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