2081 10

CSC378 ยท 2081 ยท 5 marks

Create a class named EMPLOYEE as super class and ENGINEER and DOCTOR as sub class. Make your own assumptions as properties and methods.

Create a class named EMPLOYEE as super class and ENGINEER and DOCTOR as sub class. Make your own assumptions as properties and methods. [5]

NET Centric ComputingChapter 1: Language PreliminariesInheritance

This question demonstrates inheritance in C, where a base (super) class EMPLOYEE is created, and derived (sub) classes ENGINEER and DOCTOR inherit its properties and methods. The derived classes extend the base class with their own specific properties and methods. --- --- --- --- Feature Descript...