Question: a. Create subclasses to extend Employee. The employee type may be distinguished further based on the job type (SECRETARY, ENGINEER, MANAGER, and TECHNICIAN) and based

a. Create subclasses to extend Employee. The employee type may be distinguished further based on the job type (SECRETARY, ENGINEER, MANAGER, and TECHNICIAN) and based on the method of pay (SALARIED_EMPLOYEE, HOURLY_EMPLOYEE)

SECRETARY entity type has the specific attribute Typing_speed, whereas the ENGINEER entity type has the specific attribute Eng_type, but SECRETARY and ENGINEER share their other inherited attributes from the EMPLOYEE entity type.

SALARIED_EMPLOYEE entity type has the specific attribute Salary, whereas the HOURLY_EMPLOYEES entity type has the specific attribute Pay_scale.

Now explain the superclass and subclasses that you have just created.

Explain the disjointness and completeness constraints you have made while creating the specialization in question a.

a. Create subclasses to extend Employee. The employee type may be distinguished

File Edit View Layers Objects Select Iools Input Methods Help

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