In my original post I mentioned that the second part (which I hadn't posted yet) was due a few days ago. I am currently 3 days past due for this and have another part due this Sunday. I am going to post the entire requirement in advance. I have a strong feeling I'll be coming back to try to figure this out. For the moment, I am trying to sort my array by the name of the dvd's that I have entered, create a method to display the entire total of the inventory (the ProductValue displays the total inventory cost of each dvd, but I need the total inventory cost of the entire array), and I am supposed to have the entire program display the items one line at a time. So far I am failing at each of these. I will add comments for the parts that I am having trouble with.
I had thought maybe I could use a counter to keep track of the ProductValue, but I am not sure if that is possible. The next part is
"Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product you chose (for the DVDs subclass, you could use movie title, for example). In the subclass, create a method to calculate the value of the inventory of a product with the same name as the method previously created for the product class. The subclass method should also add a 5% restocking fee to the value of the inventory of that product.
Modify the output to display this additional feature you have chosen and the restocking fee."
That is due Sunday. Not asking you guys to do it for me, but I am probably going to have questions. I'll go back through the book chapters to see if I can find a clue. Probably looking like an idiot at the moment, but I could not be more lost when it comes to this.