Description: Create four categories, namely the Employee class, SalariedEmplyee class, HourlyEmployee class and CommissionEmployee class. Employee class is one of the other three parent class. Employee class contains the name and ID number. In addition, SalariedEmployee class should also include the monthly salary HourlyEmployee class should also include the number of hourly wages and the number of working hours CommissionEmployee commission should also include the proportion and total sales. Each class should have an appropriate constructor, data members to set and read methods. Write an application, create objects of these classes, and output information associated with the object. Note that sometimes need to subclass call the parent class constructor and overridden methods, member variables defined as private, for some method overloading.
To Search:
File list (Check if you may need any files):
Test2.java