Question: java programming chapter 12 debug wizard inventory create an application...
Java Programming: Chapter 12 Debug: Wizard Inventory
Create an application that keeps track of the items that a wizard can carry.
Use an array list to store the items. Provide three starting items.
The wizard can only carry four items at a time.
For the edit and drop commands, display an error message if the user enters an invalid number for the item.
When you exit the program, all changes that you made to the inventory are lost.