Modify the Inventory Program by creating a subclass (12 oz bottle or 12 oz can) of the product class that uses one additional unique feature of the product you chose.
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.© BrainMass Inc. brainmass.com October 9, 2019, 10:33 pm ad1c9bdddf
The solution examines the modification of an inventory program by creating a subclass. Java program is examined.