public void Add(Pupil pupil) { myClass[3] = pupil; }
public ClassRoom(Pupil pupil1, Pupil pupil2) { myClass[0] = pupil1; myClass[1] = pupil1; }
public ClassRoom(Pupil pupil1, Pupil pupil2, Pupil pupil3) { myClass[0] = pupil1; myClass[1] = pupil2; myClass[2] = pupil3; }
public ClassRoom(Pupil pupil1) { myClass[0] = pupil1; }