Implement and test an inventory application in Java that will allow a client to manage information about a store inventory. The application should allow the client to start with an empty inventory and then manage it by adding, deleting, searching, and displaying specific information from the inventory according to the specification below. Your application should offer the client a menu with the following operations: 0. Exit the program. 1. Add an item. 2. Delete an item. 3. Display info about an item. 4. Update an item. 5. Display content of inventory. 6. Display info about items (by shelf). 7. Display info about the most/least expensive item. Develop an extensive test suite and test your program thoroughly on it. Your test suite must include, but should not be limited to, the data from this input file. A sample run on this data can be found in this output file. Here is the specification of the functionality of the inventory application: 1. Add an item: Adds an item in the inventory. The item name uniquely identifies an item in the inventory. Requests the following input from the client of the program: item name, item amount, item price, item shelf location. If the item name that is specified is already in the inventory, the program should prompt the client for a different item name. Examples: (shirt,5,20,2)
Implement and test an inventory application in Java that will allow a client to manage information about a store inventory. The application should allow the client to start with an empty inventory and then manage it by adding, deleting, searching, and displaying specific information from the inventory according to the specification below. Your application should offer the client a menu with the following operations: 0. Exit the program. 1. Add an item. 2. Delete an item. 3. Display info about an item. 4. Update an item. 5. Display content of inventory. 6. Display info about items (by shelf). 7. Display info about the most/least expensive item. Develop an extensive test suite and test your program thoroughly on it. Your test suite must include, but should not be limited to, the data from this input file. A sample run on this data can be found in this output file. Here is the specification of the functionality of the inventory application: 1. Add an item: Adds an item in the inventory. The item name uniquely identifies an item in the inventory. Requests the following input from the client of the program: item name, item amount, item price, item shelf location. If the item name that is specified is already in the inventory, the program should prompt the client for a different item name. Examples: (shirt,5,20,2)
Chapter8: Arrays
Section: Chapter Questions
Problem 7PE
Related questions
Question
The question requires to use Java and I trying to figure out as to how to add an item within the intentory class where you need to use a driver class and other sub classes to let it work. The question and the output for when you selected the option to add an item are in the images.
Expert Solution
Step 1
BELOW ? STEP BY STEP COMPLETE PROGRAM INCLUDED WITH COMMENTS AND SCREENSHOT OF OUTPUT :
Step by step
Solved in 3 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,