Question: Hi, I want these 2 questions in Java language .... VideoNote program that creates three instances of it. One instance should hold your information, and


Hi, I want these 2 questions in Java language ....
VideoNote program that creates three instances of it. One instance should hold your information, and The Personal the other two should hold your friends' or family members' information. Write a class named Retailiten that holds data about an item in a retail store. The class should have the following fields: description. The description field references a String object that holds a brief description of the item. unitaonlland. The unitsoniland 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 methods 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 Retailitem objects and stores the following data in them Item #1 Item #2 Item #3 DescriptionUnits.on HandPrice Jacket Designer Jeans 12 40 20 nyCodelmlate 5. Payro1l Class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
