
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The design of an inheritance hierarchy for graduate teaching assistants (gradta) based on the given problem statement. Gradta is required to be a student, employee, and countyresident. The document also introduces the discussionta class, a subclass of gradta, which has additional attributes and methods. The hierarchy allows for method overriding and polymorphism, enabling a gradta object to be passed as a parameter to methods with student, employee, or countyresident parameters.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

For this problem you will design the inheritance hierarchy associated with the following problem: GradTA is a class that represents graduate teaching assistants. A graduate teaching assistant (TA) has AT LEAST a name, salary, officeHours and a course to teach. For this problem we want a graduate TA to have the following IS-A relationships: