program should describe the characteristics of the employees of a company. This class should contain the name (first and last name), omang, address, etc of the employee, together with pay information. Given that this company has two different types of employees, those on a salary and those paid by the hour. Create two subclasses of Employee: SalariedEmployee and HourlyEmployee, with different methods for calculating monthly pay and for displaying an employee details. Both of these subclasses should inherit all of the common information and methods from Employee, but should override the methods used to calculate pay and to display employee details. here is the program }import java.util.*
class Employee { string firstname; string lastname; int omang; int pay;