Question: Help using OOP, Python OOP, Object oriented analysis, inheritance, and functions ( 1 0 Points ) Design a class named Employee and a class named
Help using OOP, Python OOP, Object oriented analysis, inheritance, and functions
Points
Design a class named Employee and a class named ProductionWorker which is a derived class from the Employee class. The classes should keep the following information:
Employee class:
Employee name
Employee number
Hire date
ProductionWorker:
Shift an integer
Hourly pay rate a double
The workday is divided into two shifts: day and night. The shift variable will hold an integer value representing the shift that the employee works day shift is night shift is Demonstrate the classes by writing a program that uses a ProductionWorker object.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
