Question: Part 1 : Adding car information input methods Whichever car you choose to model, certain information about it will need to be input such as

Part 1: Adding car information input methods
Whichever car you choose to model, certain information about it will need to be input such as its make/model, year released (must be a positive number), trim, MPG (must be positive), and the type of car (restrict this to: Truck, Sedan, Coupe, Station Wagon, or Van).
Think carefully about appropriate datatypes for the information listed, then start by adding a static method to:
Prompt for the model of the car and return what was entered by the user. You'll need to use the Scanner class to read this in (e.g., Corolla, RAV4, Camry, etc. are some examples).

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!