Question: To do in Java: Write a program named RetailItem.java. Complete the blueprint for ReatilItem.java. Then write a RetailDriver.java that creates the following three objects Description
To do in Java: Write a program named RetailItem.java.
Complete the blueprint for ReatilItem.java. Then write a RetailDriver.java that creates the following three objects
| Description | Units On Hand | Price |
| Jacket | 12 | 59.95 |
| Designer Jeans | 40 | 34.95 |
| Shirt | 20 | 24.95 |
Then have your program print out the toString(), something like
The inventory currently has 12 Jacket which costs $59.95 for each unit for a total of $719.40
The inventory currently has 40 Designer Jeans which costs $34.95 for each unit for a total of $1,398.00
The inventory currently has 20 Shirt which costs $24.95 for each unit for a total of $499.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
