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