Question: 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

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

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!