Question: I need help in Java: Now that you know about objects. You always think of real life object:s: You have seen car Dealership in street.

I need help in Java:

I need help in Java: Now that you know about objects. You

always think of real life object:s: You have seen car Dealership in

street. What if you are ask to write java Program to do

design Dealership class Think what dealership has, Cars, SalePersons, Manager and more

Now that you know about objects. You always think of real life object:s: You have seen car Dealership in street. What if you are ask to write java Program to do design Dealership class Think what dealership has, Cars, SalePersons, Manager and more objects. We are only concern for Car, SalesPerson, Manager and Dealership. Write a class for Car and have the following private fields or members make, price, year and vinNumber. Write a class for SalesPerson and have the following private fields or members First name, last name, Bonus, address, date of hiring. Write a class for Manager and have the following private fields or members: First name, last name, address, date of hiring. Write a class for Dealership and have the following private fields or members: Array of SalesPerson, Array of Car, and one Manager. Provide constructor and methods for all of above classes. You should have setters and getters, and method toString() that returns states of objects that is what it knows about object (example: First name, last... Dealership class should have methods addSalesPerson, removeSalesPerson, carSold, removeCar, addCar, and toString toString() should print state of Dealership: manager, SalesPersons, Cars, and number of car sold The Following show possible layout of Dearship class

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!