Question: In java, A car dealership wants to have a system to keep the records of all its cars. We already had some experience creating a

In java,

In java, A car dealership wants to have a system to keep

A car dealership wants to have a system to keep the records of all its cars. We already had some experience creating a class for Car. Use what you learned to create a class Car, with some required information, such as make, model, year, transmission, seats, maximum speed, wheels, type (sedan, SUV, Crossover, ...), etc. This dealership needs to keep the information of all its cars. Therefore, we should create a class Dealership with some profile information such as name, location, managers, employees, etc. It also should be able to keep the information of all its cars. Your tasks are creating a class for Car, a class for Dealership, and also a tester class to be able to create one or more dealerships, each of which have one or more cars. Note that the number of managers, employees, and cars of a dealership are not known in advance and therefore you should consider this fact in your class development

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!