Computers and Technology

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:00, sarah192002
You should hand write your references on your resume.
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, caseypearson377
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, cireland
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits. now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order. finally, output thedigits in thearray. use at least two functions to organize your program.
Answers: 3
image
Computers and Technology, 24.06.2019 10:20, silviamgarcia
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
Do you know the correct answer?
Create a class named salesperson. data fields for salesperson include an integer id number and a dou...

Questions in other subjects:

Konu
Mathematics, 04.02.2021 19:20
Konu
Mathematics, 04.02.2021 19:20
Konu
Mathematics, 04.02.2021 19:20
Konu
Engineering, 04.02.2021 19:20
Konu
Mathematics, 04.02.2021 19:20