class Student { private String name; private int averageGrade; private Group group; public Student(Group group, String name, int averageGrade) { this.group = group; // (2) this.name = name; this.averageGrade = averageGrade; } }