Question: JAVA PROGRAMING In a particular factory, a team leader is an hourly paid production worker that leads a small team. In addition to hourly pay,
JAVA PROGRAMING
In a particular factory, a team leader is an hourly paid production worker that leads a small team. In addition to hourly pay, team leaders earn a fixed monthly bonus. Team leaders are required to attend a minimum number of hours of training per year. Design a Teamleader class that extends the productionWorker.The Team leader should have fields for the monthly bonus amount, the required numbers of training hours and the number of training hours the team leader has attended.Write one or more constructor and the appropriate accessor and mutator methods for the class. Demonstrate the class by writing a program that uses a TeamLeader Object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
