Question: Create a class named Salesperson. Data fields for Salesperson include an integer ID number and a Double annual sales amount. Methods include a constructor that
Create a class named Salesperson. Data fields for Salesperson include an integer ID number and a Double annual sales amount. Methods include a constructor that requires values for both data fields, as well as get and set methods for each of the data fields. Save the file as Salesperson.java
Write an application named DemoSalesperson that declares an array of Salesperson objects. so each Salesperson has a successive ID number from through and a sales value that ranges from $ to $ increasing by $ for each successive Salesperson and display the id and sales amount for each instance that you created. Save the file as DemoSalesperson.java
Create a class named Salesperson. Data fields for Salesperson include an integer ID number and a Double annual sales amount. Methods include a constructor that requires values for both data fields, as well as get and set methods for each of the data fields. Save the file as Salesperson.java
Write an application named DemoSalesperson that declares an array of Salesperson objects. so each Salesperson has a successive ID number from through and a sales value that ranges from $ to $ increasing by $ for each successive Salesperson and display the id and sales amount for each instance that you created. Save the file as DemoSalesperson.java
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
