Question: Please do this!! In C++ Write a program with two base classes STAFF. Class STAFF should have private data NAME. Base class CONTRACTOR should have
Please do this!! In C++ Write a program with two base classes STAFF. Class STAFF should have private data NAME. Base class CONTRACTOR should have private data ID. Derived class MANAGER should inherit from both base classes, and also have private data ADDRESS. Program body should declare instance of each and insert one data member in each instance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
