Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Engine ( Class ) : Layout ( Straight , Inline, V , Electric ) Amount of Cylinders ( Electric = 0 ) Transmission ( Class
Engine Class:
Layout Straight Inline, V Electric
Amount of Cylinders Electric
Transmission Class
Type ManualAutomatic
Wheel Class:
Tire Class:
Brand
Recommended PS
Breaks Class:
Brand
Last time it was replaced Date
A vehicle's VIN can give you many pieces of information. When creating an object,
these pieces of information can automatically fill in certain variables in the classes. If it
cannot be filled in from the breakdown below, have the user manually enter it
Below is the breakdown of a VIN by characters:
: WM
: Where the car was built
: Make and body type
: Vehicle Descriptor
: Security code
: Year
: Which plant assembled the vehicle
: Serial Number
Let's make some generalized rules we can follow.
Location of Manufacturer
Type
Example:
Example:
YJSAENF
Location: USA, Make: Tesla, Body Type: Sedan, Year:
We can make more inferences about the car with the above information. For example:
Tesla Electric Engine
Sports Car & Year V engine VLayout and Cylinders
Including the two above, you should make at least five more inferences about vehicle
engines based on the information from the VIN number. These inferences do not have
to be correct but should cover all types of cars that can be entered.
Submission notes:
Submit all files from your src folder, including all java and input files, the project
file, classpath file, and optionally, the settings folder.
Be sure that your project compiles on CS Department computers before
submission.
Zip the entire folder and name it as "Assg#firstNamelastName.zip".
Submit the zipped file in the respective Canvas link.
Example Output:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started