|Get Selected Weeks Solution with ONLY||NOT||Add Selected Tutorials To Cart|
CMIS 242 - Intermediate Programming
Programming Project 1
The first programming project involves writing a program that computes the average salary for a collection of employees of different types. This program consists of four classes. The first class is the Employee class, which contains the employee's name and monthly salary, which is specified in whole dollars. It should have two methods:
The Employee class has two subclasses. The first is Salesman. It has an additional instance variable that contains the annual sales in whole dollars for that salesman. It should have the same two methods:
The second subclass is Executive. It has an additional instance variable that reflects the current stock price. It should have the same two methods:
Finally there should be a fourth class than contains the main method. It should create an array of objects of type Employee and initialize them to a mixture of different kinds of employees. It should then compute and display the average salary for all employees.
Be sure to follow good programming style, which means making all instance variable private and naming all constants. Furthermore you must select enough different kinds of employees to completely test the program.
It is solution for CMIS242 Project 1.
This solution is 100% correct, contain Java source code and screenshots, you can using any java IDE, copy source code to src folder and run it
If you have any questions, please contact us via email email@example.com, we will help you any time
Thank you very much