Need .txt file of Java code for Inventory Part 2 I have already implemented the Array however I am having problems putting in a sort that sorts the Cameras by name and also a method that calculates the entire total inventory. This assignment is way past due and I cannont get points for it any longer however, I would still like to know what I was doing wrong. I have attached what I have for this program so far.
Inventory Program Part 2
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.