示例#1
0
        private DEGREE degree;                 /*This is the refers to the degree the student is enrolled in*/

        public void SetDegree(DEGREE Degree)   /*This method is used to assign a degree to the student*/
        {
            degree = Degree;
        }
示例#2
0
 public void SetDegrees(DEGREE Degree)                /*This method is used to assign a degree to the Lecturer*/
 {
     degrees.Add(Degree);
 }