示例#1
0
 // setDOS procedure allows a user to set a Student's DOS
 public void setDOS(Teacher theDOS)
 {
     DOS = theDOS;
 }
示例#2
0
 public Student(String aName, int anAge, Teacher theDOS) : base(aName, anAge)
 {
     DOS = theDOS;
 }