In: Computer Science
University Person Attributes :-
Variables:-
name : String
address : String
Age : int
phoneNo : int
email : String
Methods:-
getName() : String
getAddress() : String
setAddress() : String
getAge() : int
setAge() : int
-----------------------------------------------------------------------
Student class inherits above university persons attributes .
-----------------------------------------------------------------------
The attributes that are unique to the Student class are given below
Student Attributes :-
Variables:-
numCourse : int
course : String[]
StudentId : int
grades : int[]
yearOfStudy : int
Methods:-
enrollCourse(course : String) : void
payTution( fee:int) : void
dropCourse(course : String) : void
addCourseGrade( course : String , grade:int ) : void
printGrades() : void
getAverageGrade() : double
----------------------------------------------------------------------------
Thank you.