Question: This code is in Java. TCOs 1-6) Employees at a certain company get a yearly bonus based on years of service. The bonus is a


This code is in Java.
TCOs 1-6) Employees at a certain company get a yearly bonus based on years of service. The bonus is a percentage of their annual salary based on the table below Years of Service Bonus Percentage 3% 7% 12% 15+ Create a class called Employee that can be used for this. It should have attributes of Name Years; and Salary Create the following methods. Default constructor to initialize all attributes Get/Set for name, years, salary Get to calculate and return bonus rate Get to calculate and return bonus amount This class will be used with the Bonus Calculator GUI shown below Bonus Calculator ears Salary Calc Bonus Bonus Percent Bonus Amount
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
