subject

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. write an application named demosalesperson that declares an array of 10 salesperson objects. set each id number to and each sales value to zero. display the 10 salesperson objects. save the files as salesperson. java and demosalesperson. java.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
question
Computers and Technology, 24.06.2019 14:00
What are the different components of the cloud architecture?
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
The value of sin(x) (in radians) can be approximated by the alternating infinite series create a function (prob3_2) that takes inputs of a scalar angle measure (in radians) and the number of approximation terms, n, and estimates sin(x). do not use the sin function in your solution. you may use the factorial function. though this can be done without a loop (more efficiently), your program must use (at least) one. you may find the mod() function useful in solving the problem.
Answers: 1
question
Computers and Technology, 25.06.2019 01:00
Why was it important for the date format to be standardized by the international organization for standardization
Answers: 1
You know the right answer?
Create a class named salesperson. data fields for salesperson include an integer id number and a dou...
Questions
question
Business, 16.11.2019 02:31