Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this submission, you are going to submit the header file that declares the Student class as a derived class of the following Person class.

image text in transcribed

image text in transcribed

In this submission, you are going to submit the header file that declares the Student class as a derived class of the following Person class. _Specifically, make sure your Student class contains the following list of data members: A student's current status: freshman, sophomore, junior or senior A pointer-based dynamic array that stores a student's grades And the following list of function members (not intended to be a complete interface): A default constructor .The "Big-3" functions: if a function requires to include a parameter object, you are required to pass this object by reference A ready-only function to return a student's current status Any other function(s) that is (are) required by the C++ compiler I/File:Person.b #include #include using namespace std: class Personi public: virtual Person); //destructor: to release any memory that has been allocated to the object Person; I/default constructor: id-1, name-"NA", birthday-"1/1/2000" Person(const Person & someone); //copy constructor void operator (const Person &rbs); //assignment operator int get ido const: //retum the id of a Person object string get name) censt, /return the name of a Person object const string get bithdav const://return the birthday of a Person object string getEmail int const; /return the i-th email if exists; gw; return "NA" void set idint pew.id):l/change a person's id to new.id void set.namelstring new namel; I/ change a person's name to new.name

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

4. Explain how to price managerial and professional jobs.pg 87

Answered: 1 week ago

Question

How to find if any no. is divisble by 4 or not ?

Answered: 1 week ago

Question

Explain the Pascals Law ?

Answered: 1 week ago

Question

What are the objectives of performance appraisal ?

Answered: 1 week ago