Create a new Java project called EmployeeProject.
Create an Employee class that keeps data attributes/properties for the following pieces of information:
Make sure the data attributes are private (data hiding).
Design an appropriate constructor method for this class.
Write appropriate accesor methods for each of the class properties.
Write a mutator method for the yearsOfService property. This simply adds 1 to the current yearsOfService each time it is called.
Write a private class method, calculatePayRise. This determines and returns the payrise percentage based on the following rules:
Write a mutator method for the hourlyRate property. This calls the calculatePayRise method and uses the returned value to update the hourlyRate property.
Write a main program which will fully test the design of the class.
Draw a UML diagram for the Employee class.