Question: Module 4 Homework assignment This assignment is to write a program with three classes: 1) a super class CommissionEmployee, 2) a subclass BasePlusCommissionEmployee that extends

Module 4 Homework assignment This assignment is to write a program with three classes: 1) a super class CommissionEmployee, 2) a subclass BasePlusCommissionEmployee that extends CommissionEmployee, and 3) a BasePlusCommissionEmployeeTest that creates and tests an instance of BasePlusCommissionEmployee. Perform the following steps: a) Using NetBeans, Create a New Java Application Project with Project Name BasePlusCommissionEmployeeTest with Create Main Class check box selected. Create comments to form a descriptive header that has the course name, your name, the assignment title, and a pledge that you have neither received nor provided help to any person. Assignments submitted without this pledge will not be graded. When you have completed the steps (b) and (c) below, you will complete the main method and execute the program BasePlusCommissionEmployeeTest b) Within this project create a new Java Class called CommissionEmployee and type in the contents of the CommissionEmployee class listed in figure 9.10. Be sure to exclude the line numbers while copying the program and do read the text book on the discussion while creating this class, Its instance variables, and its methods. CommissionEmployee is the superclass c) Create another class (subclass) within this project called BasePlusCommissionEmployee that extends CommissionEmployee. Excluding the line numbers, type in the contents of Fig. 9.11 into this class. Please read the discussion on this class in your text book. d) Now complete writing the contents of main in class BasePlusCommissionEmployeeTest by typing in the code from main in figure 9.7 into your program. Execute the program. Submission: Zip/compress the entire project folder and submit. Ensure that you have the pledge and that your program is written in NetBeans
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
