Suppose we have the following class named Person (download fromeCampus) Provide the data type class Employee_yourLastName and thedriver class named WeeklySalary_yourLastName
The class Employee_yourLastName inherits from the above classPerson such that we do not need to repeat the code that we alreadyhave in the class Person in the class Employee_yourLastName
The class Employee maintains the following information of anemployee: SS number (String), last name (String), first name(String), phone (String), address (String), email (String), salaryrate per hour (float) and number of work hours in the week(int)
Also, class Employee will handle calculating the salary of weekand displaying the output in the following format (for
OR
OR