Question: Section 8 : The Student class This class inherits from the Person class and is heavy extended for additional functionality. Attributes, methods, and special methods
Section : The Student class
This class inherits from the Person class and is heavy extended for additional functionality. Attributes, methods, and special methods inherited from Person are not listed in this section. The implementation of Course, Catalog, Semester, Loan and StudentAccount is needed for complete functionality for instances of this class, and you are expected to use methods from some of those classes in this section. This class works in conjunction with other classes, CORRECT FUNCTIONALITY OF THIS CLASS IS WORTH OF YOUR HW GRADE
Attributes
tableTypeName,DescriptionstrclassCode,A string indicating the student's year Freshman etc.dictsemesters,A collection of Semester objects accessible by an integer nboolhold,Indicates a hold on the student's account, defaults to False.boolactive,Indicates if the student is actively enrolled, defaults to True.StudentAccountaccount,tableCreates and sets a StudentAccount object with the student'sinformation to keep track of the student's balance.
Methods
tableTypeName,DescriptionstridselfProperty method for generating student's idStudentAccount create StudentAccount selfCreates a StudentAccount object.manyregisterSemesterselfCreates a Semester object.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
