Description: Create four categories, namely Employee class, SalariedEmplyee class, HourlyEmployee class and CommissionEmployee class. Employee class is one of the other three parent class. Employee class contains a 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 of total sales. Each class should have an appropriate constructor, data member of the set and read methods. Write an application to create objects of these classes, and the output with the object-related information. Note that sometimes need to subclass call the parent class constructor and overridden methods, member variables defined as private, for some way to achieve overload.
To Search:
File list (Check if you may need any files):
Test.java