Question: in java, Write a program which maintains the inventory of an auto dealer. Create a text file of a dealers inventory. The program must read
in java, Write a program which maintains the inventory of an auto dealer. Create a text file of a dealers inventory. The program must read the data into an ArrayList and then maintain it with sales and supplies. We need to create a class of inventory as each line of data will have different types of data. Then we need to create an ArrayList of these objects.
The program should read from a file and store it in a list. It should print the original inventory. You should ask the user what he/she wants to do:
in text file:
Model1 10 19000 Model2 25 25450 Model3 20 31000 Model4 13 35800 Model5 8 42099 Model6 5 63876
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
