Problem: Joe's Automotive Shop services foreign cars, and specializes in servicing cars made by Mercedes, Porsche, and BMW. When a customer brings a car to the shop, the manager gets the customer's name, address and telephone number. The manager then determines the make, model and year of the car, and give the customer a service quote. The service quote shows the estimated part charges, estimated labor charges, sales tax and total estimated charges.
Create the classes necessary to create the service quote. Write an application program that will use the classes to create the objects and output the service quote.
Classes required: Customer class, Car class and SeviceQuote class and application class. Refer to text Chapter 3.8 for details.
Detailed Requirements:
Create new BlueJ Project named AssignmentFour-your Name
For each class, including the application, prepare a UML diagram
The diagram files should be added to the BlueJ project folder
Possible ways to create file
Use word drawing tools and save as .doc or .docx
Draw on paper and scan into photo file.
Use drawing program and save as .jpg file
Make sure the UML diagrams are in the BlueJ Project folder
Create new classes:
Customer
Car
ServiceQuote
PrepareQuote (program)
Accept input from the keyboard using the Scanner class
Update all object fields using input by the user
Display output using standard output terminal for Java:
Service Quote with date, customer and car information and service quote breakdown
Header for Service Quote
Shop name
report prepared by: your name
Customer name
Customer address
Customer phone number
car make, model and year
quote for labor, parts, sales tax and total