Here is my inventory program part 1 & @ assignment. I having trouble with the second part of this assignment. My biggest issue is trying to set up an array to pull information from the class inventory.. Can anyone help me understand what I am doin wrong
Here is the errors im geting for my array:
cannot find symbol
symbol: method: get dvdname, dvdnumber,dvdunits,dvdcost,inventoryvalue,totalavalue
location: class inventoryprogrampart1.inventory
Here is the assignment for part 2
1. CheckPoint: Inventory Program Part 2
• Resource: Java: How to Program
• Due Date: Day 4 [Individual] forum
• Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In addition, the output should display the value of the entire inventory.
• Create a method to calculate the value of the entire inventory.
• Create another method to sort the array items by the name of the product.
• Post as an attachment
Here is my code
CODE
1. CheckPoint: Inventory Program Part 2
• Resource: Java: How to Program
• Due Date: Day 4 [Individual] forum
• Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In addition, the output should display the value of the entire inventory.
• Create a method to calculate the value of the entire inventory.
• Create another method to sort the array items by the name of the product.
• Post as an attachment