car dealer app assignment

Programming Project 4 DeLand Space Car Dealer needs a new program for their inventory management system. The program needs the following classes: • A main class (SpaceCarDealer.java) that includes the main method and GUI. Two instantiable classes: • CarDealer.java o Variables to store the dealer name, and the carsOnLot array in Car type. o A constructor to initialize the name variable with the given dealer name. o An accessor method to return the name of the dealer. o An accessor method to return the cars on lot. o A mutator method to buy a car and add to the car dealer inventory. o A mutator method to sell the car with the given sale price and remove the car from dealer’s inventory. o A mutator method that makes the necessary changes to update the sale price of the car. • Car.java o Variables to store makeAndModel, purchasePrice, and salePrice. o A constructor to initialize the variables with the given parameters. o An accessor method to return the purchase price. o A mutator method to update the sale price with the given new price.

* Please use ProgrammingProject4.gif for the sample program output. * You are free to layout your own GUI as you wish. * Submit your program SpaceCarDealer.java, CarDealer.java, Car.java files to the Blackboard

HERE IS A GIF HOW THE APP SHOULD WORK

AppGif

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!