Answered step by step
Verified Expert Solution
Question
1 Approved Answer
24. Consider the following class class Employee public Employee(); Employee (string new_name): Employee (double new_salary); Employee (strinq new name, double new salary); private: string name;
24. Consider the following class class Employee public Employee(); Employee (string new_name): Employee (double new_salary); Employee (strinq new name, double new salary); private: string name; double salary; The Manager class inherits from the Employee class. The Manager class defines a constructor which does not explicitly call an Employee constructor. Which one of the following constructor functions is called by the Manager constructor? Employee ) b. Employee (string new_name) c. Employee (double new_salary)i d. Employee (string new_name, double new_salary)
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