Create the UML diagram for the Student class

Create the UML diagram for the Student class:

class name: Employee

fields: name, emailAddress

methods:

*setters, getters
attendMeeting(), finishTask()

__________________________________________________________________________________________

Create the Employee class in a java file (which you created from the UML Diagram):

class name: EmployeeLastNameFirstName

fields: name, emailAddress, hoursWorked, rate
methods:
*setters: setName(String neym), setEmailAddress(String email), setHoursWorked(int hrs), setRatePH(double rph)
* getters: getName(), getEmailAddress(), getHoursWorked(), getRate(), getWage()

Following the example for the Person class file, fill in the bodies of the setters and the getters. The getWage() method must display the wage of the employee by multiplying rate and the number of hours worked. (Just like the getArea() method in Rectangle.java where the length and the width is multiplied.)

In the main method, display the name, email address, rate, number of hours worked, and the wage.

Complete Answer:

Get Instant Help in Homework Asap
Get Instant Help in Homework Asap
Calculate your paper price
Pages (550 words)
Approximate price: -
Open chat
1
Hello 👋
Thank you for choosing our assignment help service!
How can I help you?