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