Question
Create, compile, and run a program that manages a linked list. Specifically, create a linked list for the rental agencys inventory. Put at least 12
Create, compile, and run a program that manages a linked list. Specifically, create a linked list for the rental agencys inventory. Put at least 12 cars in the list. Print the list. Ask for a car by its location in the list. If the car is not in the inventory (list), just say so. If it is in the inventory, tell the car's make, model, VIN.
Data fields are: Make of car, model of car, VIN of car.
For this lab, you will need to use the files BagInterface.java, Item.java, and LinkedBag.java. You should modify Item.java. Also, you should rename it. You can model your code on OnlineShopper.java.
You only need to submit any of those files if you change them.
Also, please submit a list of the car information as a text file along with your code.
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