Write a class named RetailItem that holds data about an item in a retail Mine. The class should have the following fields:

  • description. The description field references a String object that holds a brief description of the item.
  • unitsOnHand. The unitsOnHand field is an int variable that holds the number of units currently in inventory.
  • price. The price field is a double that holds the item's retail price.

Write a constructor that accepts arguments for each field, appropriate mutator method', that store values in these fields, and accessor methods that return the values in these fields. Once you have written the class, write a separate program that creates three Retail Item objects and stores the following data in them:

Item #1 Jacket 12 59.95
Item #2 Designer Jeans 40 34.95
Item # 3 Shirt 20 24.95
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.