Question
In c++ define (specify the data members and member functions) an abstract base class Person that describes a person, with basic information like name, age,
In c++ define (specify the data members and member functions) an abstract base class Person that describes a person, with basic information like name, age, gender... Next, define a derived class Student that describes a student - has the basic Person class information, and adds year of graduation, student ID, major, list of classes ... then derive from the Student a class GradStudent for a typical graduate student - include an enumerated type defining the thesis option, e.g., MASTERS_THESIS, MASTERS_NON_THESIS, and DOCTORATE. Function implementations are not required just specify (define) the classes.
use a List
Function implementations are not required just specify (define) the classes.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started