An organization has two types of employees: regular and adhoc. Regular employees get asalary which is basic + DA + HRA where DA is 10% of basic and HRA is 30% of basic.Adhoc employees are daily wagers who get a salary which is equal to Number * Wage.(i) Define the classes shown in the following class hierarchy diagram: