Assignment Four

 This assignment is to write a Java class named commissionEmployee that will be part of the employees example from the examples list. It will extend (be a subclass of) the salariedEmployee class. The commissionEmployee class will have two additional double fields, commission and sales. The commission field represents the commissionEmployee’s commission as a percent and the sales field represents the sales from which the commission will be calculated. Make sure you include access methods and modifier methods for the new fields. The pay calculation for a commissionEmployee is: salary + commission/100*sales. In the TestEmployees.java file I put comments around the section dealing with commission employees. Uncomment that section and run the program to test your class.