Question
Asked by:
$5.00 Product 2 & 3 (Java Programming)
- From Computer-Science: Object-Oriented-Programming
- Closed, but you can still post tutorials
- Due on Jul. 13, 2007
- Asked on Jul 10, 2007 at 3:31:09PM
Q:For Product 2:
Please see attached code. I'm having a problem trying to format the final output on the Price and Value. I would like these formatted $XX.XX and now they are coming out $XX.X or even $XX.XXXXXXXXXXX.
For the next step, Product 3:
Modify the Inventory Program by creating a subclass 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.
Attachments:
Product2.java (3K)



