Student[] students = new Student[STUDENT_COUNT];
for (int currentStudentIndex = 0; currentStudentIndex < STUDENT_COUNT; currentStudentIndex++)
{
Student student = new Student();
Name name = new Name();
Address address = new Address();
College college = new College();
name.setLastName(String.valueOf(currentStudentIndex));
student.setId(currentStudentIndex);
student.setName(name);
student.setAddress(address);
student.setCollege(college);
students[currentStudentIndex] = student;
}
return students;