- first Questio*** its my inclass project...Create a class namedSalesperson. Data fields forSalespersoninclude an integer ID number and adoubleannual 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 namedDemoSalespersonthat declares an array of 10Salespersonobjects. Set each ID number to 9999 and each sales value to zero. Display the 10Salespersonobjects. Save the files asSalesperson.javaandDemoSalesperson.java.
****Main project work.?
Create a class name?Apartment?that holds an apartment number, number of bedrooms, number of baths, and rend amount. Create a constructor that accepts values for each data filed. Also create a get method for each field. Write an application that creates at least five?Apartment?objects. Then prompt a user to enter a minimum number of bedrooms required, minimum number of baths required and a maximum rent the user is willing to pay. Display data for all the?Apartment?objects that meet the user?s criteria or an appropriate message if no such apartments are available. Save the files as?Apartment.java?and?TestApartment.java.
Extra credit:?list the apartments in the output in increasing order of rent
This question was answered on: Oct 07, 2020Buy this answer for only: $15
This attachment is locked
Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
About this QuestionSTATUS
Oct 07, 2020EXPERT
GET INSTANT HELP/h4>
We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.
You can also use these solutions:
- As a reference for in-depth understanding of the subject.
- As a source of ideas / reasoning for your own research (if properly referenced)
- For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
NEW ASSIGNMENT HELP?
Order New Solution. Quick Turnaround
Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.
WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.