Question: Please can you finish this java code at lease in 2 hours, I need it as soon as possible 2:47 In this lab, you are
2:47 In this lab, you are expected to build classes that follow the below class diagram where the PartTimeEmployee class and FullTimeEmployee class both inherit from the Person class. Person class: Attributes: o FirstName: String that holds the first name of a o LastName: String that holds the last name of a person o Gender: String that holds the gender of a person . Methods: Default Constructor: sets the attributes to the default values Constructor: takes 2 String parameters to set the first and last name attributes of a person o o o toString0: returns a string with contents of the Person object with the format FNAME LNAME GENRER o display0: displays the contents of the class attributes with the following format First Name: FNAME, Last Name: LNAME Gender: GENDER o Set and Get: for the class attributes PartTimeEmployee class: Attributes: o Worked Hours: double that holds the number of hours worked. o RatePerHour: double that holds the rate for each hour worked o Payment: double that holds the payment for an employee's work . Methods: Default Constructor: sets the attributes to the default values Constructor: takes parameters to set the attributes of o o the class o Cale Payo: calculates the s payment accordi
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
