Description
Lab Assignment-8 (Virtual Base class & Function Overloading)
Program 1
An educational institution wishes to maintain a database of its employees. The database is divided into a number of classes whose hierarchical relationships are shown below:
Specify all the classes and define functions to create the database and retrieve individual information as and when required.
In Program-1 Add another class called Education that holds data members namely:
Highest _professional _qualification
This class should be inherited by the class teacher and officer. Modify program-1 to incorporate these additions.
Program 2
Consider a class hierarchy as shown below:
The class master derives from both account and admin classes which in turn derive information from the class person.
Define all the four classes and write a program to create update and display the information contained in the master object.




Reviews
There are no reviews yet.