The Java™ application should also meet these technical requirements: * The application should have at least one class, in addition to the application’s controlling class. * The source code must demonstrate the use of Array or ArrayList. * There should be proper documentation in the source code.
Source Code:
/** *
Program: Simple Commission Calculation Program Part 3
Purpose: to calculates and display the total annual compensation of a salesperson.
Programmer:
Class: PRG420
Instructor:
Creation Date:
Programmer Modification Date:
Purpose: to add name of sales person and also functionality to manage the list of sales persons an comparing their annual compensation
Program Summary: This program will calculate and display the total annual compensation of a salesperson. Here in this program the salary of the salesman and its commission rate is fixe and program accepts sales amount.
*/ import java.util.ArrayList; import java.util.Scanner; import java.text.NumberFormat;
class SalesPerson {
private final double fixed_Salary = 35750.00; private final double commission_Rate = 12.0; private final double sales_Target = 125250.00;
private String name; private double annual_Sales;
//default constructor public SalesPerson() { name = "Unknown"; annual_Sales = 0.0; }
//parameterized constructor public SalesPerson(String