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.
File Edit View Layers Objects Select Iools Input Methods Help
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started