Chapter 15: Problem 4
The class SalariedEmployee inherits both of the functions get_name and print_check (among other things) from the base class Employee, yet only the function declaration for the function print_check is given in the definition of the class SalariedEmployee. Why isn't the function declaration for the function get_name given in the definition of SalariedEmployee?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.