Question: please help with java ~Problem 5.1~ Please note that you are not required to implement your own generic classes for this problem. A Car dealership

please help with java
please help with java ~Problem 5.1~ Please note that you are not
~Problem 5.1~
Please note that you are not required to implement your own generic classes for this problem.
A Car dealership is attempting to shift their business online and automate part of the job normally performed by people in their sales department. The project has been dubbed the AutoAutoSalesman.
Your task is to create a class called AutoAutoSalesman that will:
Keep track of available Car inventory (classes are provided for you).
Make car recommendations based on criteria provided by prospective buyers.
AutoAutoSalesman must have the following:
A collection that holds all of the available cars. This collection is passed as the single argument to the only constructor.
Auto recommendations can be based on several criteria. The criteria are: pricePoint, priceRange, ecoFriendly, style.
Any combination of criteria may be selected by the customer, except pricePoint and priceRange, these arguments are always provided together. For example: the customer may select the price (pricePoint and priceRange) and style criteria. The recommendation algorithm would then make recommendations based on only these criteria. Another example: price may be unimportant and the customer only provided ecoFriendly.
getReco()
This is the method(s) that will return a collection of Cars meeting the criteria specified in the arguments.
Cars meeting the provided criteria should be determined as follows:
pricePoint, priceRange: returned Cars must be within +-(priceRange/2) of the pricePoint. For example: a pricePoint and priceRange of 40000 and 10000 should yield only Cars priced between 35000 and 45000.
style: returned Cars must have the same style (String) as the one specified.
ecoFriendly: returned Cars must have a fuelEconomy below 6.0 (litres/100km) if true. If false no preference should be made.

-- Problem 5.1 - Please note that you are not required to implement your own generic classes for this problem. A Car dealership is attempting to shift their business online and automate part of the job normally performed by people in their sales department. The project has been dubbed the AutoAuto Salesman. Your task is to create a class called AutoAuto Salesman that will: Keep track of available Car inventory (classes are provided for you). Make car recommendations based on criteria provided by prospective buyers. AutoAuto Salesman must have the following: A collection that holds all of the available cars. This collection is passed as the singlehrgument to the only constructor. Auto recommendations can be based on several criteria. The criteria are pricePoint priceRange, ecoFriendly. style. Any combination of criteria may be selected by the customer, except pricePoint and priceRange, these arguments are always provided together. For example: the customer may select the price ( pricePoint and priceRange ) and style criteria. The recommendation algorithm would then make recommendations based on only these criteria. Another example: price may be unimportant and the customer only provided ecoFriendly. get Reco (0) This is the method(s) that will return a collection of Cars meeting the criteria specified in the arguments. o Cars meeting the provided criteria should be determined as follows: pricepoint, priceRange : returned Cars must be within +-(priceRange/2) of the pricePoint. For example: a pricePoint and priceRange of 40000 and 10000 should yield only Cars priced between 35000 and 45000. style:returned Cars must have the same style (String) as the one specified. ecofriendly returned Cars must have a fuelEconomy below 6.0 (litres/100km) if true. If false no preference should be made

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!