Assignment 1
Lab Assignment
In this course you will build a Car Configuration Application
I would like you start with a proof of concept – so we will first build the underlying object using normal Java Classes and Inner Classes.
For our proof of concept please consider the following requirements:
We will build Ford's Focus Wagon ZTW model with these options:
- Color - Fort Knox Gold Clearcoat Metallic, Liquid Grey Clearcoat Metallic, Infra-Red Clearcoat, Grabber Green Clearcoat Metallic, Sangria Red Clearcoat Metallic, French Blue Clearcoat Metallic, Twilight Blue Clearcoat Metallic, CD Silver Clearcoat Metallic, Pitch Black Clearcoat, Cloud 9 White Clearcoat
- Transmission - automatic or manual
- Brakes/Traction Control - Standard, ABS, or ABS with Advance Trac
- Side Impact Air Bags - present or not present
- Power Moonroof - present or not present
Base Price | $18,445 |
Color | No additional cost |
Transmission | 0 for automatic, $-815 for standard (this is a "negative option") |
Brakes/Traction Control | $0 for standard, $400 for ABS, $1625 for ABS with Advance Trac |
Side Impact Air Bags | $0 for none, $350 if selected |
Power Moonroof | $0 for none, $595 if selected |
Design and code classes for these requirements and write a driver program to instantiate a Ford Wagon ZTW object and write it to a file. Test your code with a couple of instances of Forward Wagon ZTW.
Concepts you will need to know.
- Object Theory
- Inner Classes
- File IO
- Serialization
Need Solution Email me: topsolutions8@gmail.com