Question: Base class Employee has data attributes _ _ employeeID for the employee identification and _ _ name for the employee name with typical accessors and

Base class Employee has data attributes __employeeID for the employee identification and __name for the employee name with typical accessors and mutators. Base class HourlyWorker adds data attribute __rate for the hourly pay rate. In the main application object worker is of type Employee. Which methods may object worker call?
only get_rate method
get_employeelD, get_name, and get_rate methods
only get_employeelD and get_name methods
none of the methods may be called by worker object
Base class Employee has data attributes _ _

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 Programming Questions!