Explore BrainMass
Share

Java: Inventory Output

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

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.

© BrainMass Inc. brainmass.com March 21, 2019, 4:09 pm ad1c9bdddf
https://brainmass.com/computer-science/sorting/inventory-output-175739

Attachments

Solution Summary

This response provides aid in modifying an inventory program in Java.

$2.19