Create a separate class

Create a separate class for the selected product that holds the item number, the name of the product, the department in which the product belongs, the number of units in stock, and the price of each unit. You must use the class name that is specified in the "Inventory Program Product Selection" post.
Create a Java application that displays the product number, the name of the product, the department name in which the product belongs, the number of units in stock, the price of each unit, and the value of the inventory (the number of units in stock multiplied by the price of each unit). Pay attention to the good programming practices in the text to ensure your source code is readable and well documented.
Click the Assignment Files tab to submit your assignment.

Selected Product:
Your product will be Mobile Phones. That means that your class must be called "MobilePhone". The department is Electronics. You will have a class that will keep track of the inventory and display the inventory to the user. You will need to create a separate product class that holds the item number, the name of the product, the department in which the product belongs, the number of units in stock, and the price of each unit. This requirement has not changed. However, you will name your product class "Mobile Phone". I do not want the class to be named "Product". You will still have the same properties:
item number
name of the product
name of the product's department
number of units in stock
price of each unit
Powered by