When you post code, you want to UseCodeTags (←click that link to see how), not quote tags.
Give all your fields private access and if you need access in a different class make them available via getXXX methods.
Junilu Lacar wrote:And do you understand what the controlling class was supposed to do? What is it "controlling"?
Hi, I am brand new to Java, only in my third week of class and this is my third program with the first being "Hello World", and the second a single salesperson commission program and now a modified version of that program. I am still learning the terminology and after three weeks can be considered to know nothing really. If anyone could baby talk me in this that would be awesome. Anyway this is what the assignment is:
Modify the Week Two Java™ application using Java™ NetBeans™ IDE to meet these additional and changed business requirements:
The application will now compare the total annual compensation of at least two salespersons.
It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners.
The application should ask for the name of each salesperson being compared.
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.
Submit a ZIP file containing the ".java" file
I am not sure what a controlling class even is to answer that question. Is that the first class I made? The one I called SimpleCommissionCalculation?