Question: You are given a partially completed project containing 4 header files: Container.h student.h undergrad.h grad.h #ifndef _UNDERGRAD_H #define _UNDERGRAD_H // Q1a: Create Undergrad class (5

You are given a partially completed project containing 4 header files:

Container.h

student.h

undergrad.h

grad.h

#ifndef _UNDERGRAD_H #define _UNDERGRAD_H // Q1a: Create Undergrad class (5 points) // Part 1: Create a child class of the Student class named 'Undergrad'

// Part2: Declare constructor which accepts the same 3 parameters as the parent class Student's constructor.

// Pass the 3 parameters to the super constructor of the Student class.

// Part 3: Re-declare the method displayInfo (virtual method found inside of parent class Student)

#endif // _UNDERGRAD_H

#ifndef _GRAD_H_ #define _GRAD_H_ // Q1b: Create Grad class (5 points) // Part 1: Create a child class of the Student class named 'Grad'

// Part2: Declare constructor which accepts the same 3 parameters as the parent class Student's constructor.

// Pass the 3 parameters to the super constructor of the Student class.

// Part 3: Re-declare the method displayInfo (virtual method found inside of parent class Student)

#endif // _GRAD_H_

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!