Question: Java- DemoSalesPerson Create a class/application named DemoSalesperson that does the following: Create an array that will hold 10 Salesperson objects The first Salesperson object will
Create a class/application named DemoSalesperson that does the following: Create an array that will hold 10 Salesperson objects The first Salesperson object will have the ID number of 111 and the sales of 25000. Create a for loop that will instantiate the 10 Salesperson objects. Each time an object in instantiated add one to the ID number and 5000 to the sales (remember- no magic numbers!) Create a second for loop that will use the methods of the Salesperson object to display the ID # and the sales
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
