Question
program that presents four options to the users. Option 1: Store the data related to the car in file. Ask users to enter the car
program that presents four options to the users.
Option 1: Store the data related to the car in file.
Ask users to enter the car model, car title, car features, and rating information.
Users to continue entering the data until user enters quit or q keyword.
Use ArrayList or Map or any other structure from collection framework.
All the data should be written into the file system.
Option 2: Sort the data from the file and generate a new file with sorted data.
Sort the data by car model from the file that is generated from option 1 and then create a new file with sorted data.
Demonstrate the use of exception handling.
Option 3: Use of Collection Framework.
Use any structure from the Collection framework and print the output as a car model.
Option 4: Delete all the contents the file.
Delete the entire file.
General Requirements
Submits source code for the entire solution.
Creates a word document and submit the following screenshots:
The output of the screenshot for each option.
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