Question: c++ QUESTION: Implement class Secretary, which inherits from class Employee. Note the following The Working Hours data member represents the working hours per day. The

QUESTION: Implement class Secretary, which inherits from class Employee. Note the following The Working Hours data member represents the working hours per day. The TrainingCertificate data member represent the name of the Training Certificate of the secretary Function printDetails of the base class should be overridden to print the additional information about the Working Hours and Training Certificate. Function Change HiringDate should change the HiringDate of the base class according to the given parameter. The function take three integers that represent the day, the month and the year. Private myDato (-) day Type: ant (-) month Type: ant (-) year Type: int (4) Parameterized Constructor (+) Setters (+) print Details : void Public Sployee (-) Name Type: string Private (-) Nationality Type: string (-) experienceYears Type: int protected (0) HiringDate Type: myDate {+) Parameterized Constructor that takes 2 strings, 1 Integer and 1 Public myDate object [+Getter for the name (+) Print Details :void Secretary - Karking hours Training Certificates Type: string Manager 121 Type: String PhD Type: bool Based Donateuctor Ernes void EN 01 menzad Constructor Det Date NOTE Tore momethedas constant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
