Answered step by step
Verified Expert Solution
Question
1 Approved Answer
rite a Python class definition Manager which is a subclass of UnionMember and has two ttributes as follows: minimum number of employees to be supervised
rite a Python class definition Manager which is a subclass of UnionMember and has two ttributes as follows: minimum number of employees to be supervised to obtain a bonus. actual number of employees supervised. A Manager is a UnionMember who supervises some number of employees. In addition to hourly pay, a Manager will earn a bonus when a minimum number of employees ae supervised Define the following methods: a constructor which takes employee name, date of hire, hourly rate of pay, number of hours worked, minimum number of employees, and actual number of employees supervised, and initializes the corresponding attributes. Note that all managers are full- time a method called calcPay to compute and return the pay for a Manager object, calculated as follows: o if the manager supervises at least the minimum number of employees, then a bonus of 10% is given a_repr_method which returns all information about a Manager object
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