object-oriented programming to implement a system for an online car trader to advertise their cars. by using BlueJ (or Eclipse)

object-oriented programming to implement a system for an online car trader to advertise their cars. by using BlueJ (or Eclipse) and make a new project and name it Task2 and save it in the Task2 folder in your submission. Then, create the classes for

1 a class for a car (name it Car). Identify the required attributes for cars and the data type of each attribute.

2 Provide comments in the Car class and briefly explain each attribute.

3 Implement a default constructor and a constructor with parameters for class Car.

4 Implement setter and getter methods for class Car.

5 Provide comments for constructors, setter and getter methods using Javadoc.

6 Provide a main method for the Car class and choose ten different cars from https://www.carsales.com.au/ and define three objects in the main method to store information about these three cars. For each object, you need to get a screenshot of the associated carsales page and include it in your document to show that you have correctly identified the attributes of the cars.

7 a list and add all ten car objects to the list.

8 a sortPrice method to sort the list of cars according to their prices.

9 In the main method, call sortPrice method for the list of cars and print the sorted list.

10 In the main method, read the customer’s budget (an integer) from the input and show the cars that are suitable for this customer (i.e., their prices are below the budget).

Complete Answer:

Get Instant Help in Homework Asap
Get Instant Help in Homework Asap
Calculate your paper price
Pages (550 words)
Approximate price: -
Open chat
1
Hello 👋
Thank you for choosing our assignment help service!
How can I help you?