Question: JAVA (NetBeans) Programming Language Thank you! Create a class called Employee that include three instance variables -a first name(String), a last name (String), and a
JAVA (NetBeans) Programming Language
Thank you!
Create a class called Employee that include three instance variables -a first name(String), a last name (String), and a monthly salary (double). Provide a constructor that initializes the three instance variables. Provide a set and a get method for each instance variable. Set the monthly salary value, if it is positive. Write a test application named EmployeeTest that demonstrates class Employees's capabilities. Create at-least five Employee objects and display each object's yearly salary. Give each employee a range of raises (2%-6%) and then display their yearly salary again. Write good interactive messages for users while they are interacting with the program (introductory message and a good bye message) Create an UML diagram of the Employee class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
