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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started