Devry JAva Programming In Terms Of Item.java Inventory.java Test.java Discussion I need a Simple program to keep track of a hardware stores inventory. You will need to create necessary classes for handling the data and a separate class with the main method, please do not copy the code from the internet , i wont pay if you did 😀
Create an Item class to represent various items the store sells. For each item in the store, the following information shall be maintained:
Create an Inventory class that creates and manages an array of objects from the Item class.
Create a Test class with the main method. The main method should display a menu with the following choices such as:
item ID
item name
number of pieces currently in the store
manufacturers price of the item
stores selling price.
Provide appropriate setters and getters. Override the toString() method.
a) The constructor will initialize the array of items to the following values:
1, “Circular Saw”, 15, 25.00, 125.00
2, “Hammer”, 50, 7.00, 12.00
3, “Nail Gun”, 17, 75.00, 149.99
4, “Measuring Tape”, 24, 8.00, 12.99
5, “Chalk Line”, 19, 6.00, 9.99
b) Create a method to check whether an item is in the store by doing a lookup in the item list.
c) Create a method to sell an item by checking it the quantity is available and updating the quantity on hand if sold
d) Create a method to print a report for the manager in the following format
Item-ID Item-Name In store Man Price Selling Price
1 Circular Saw 15 25.00 125.00
2 Hammer 50 7.00 12.00
Total Inventory: $####.##
Total number of items in the store: ###
The total inventory is the total selling value of all the items currently in the store. The total number of items is the sum of the number of pieces of all items in the store.
Check whether an item is in the store
Sell an item
Print the report
you supposed to send me as per the below files:
Item.java
Inventory.java
Test.java
Consider the following information, and answer the question below. China and England are international trade…
The CPA is involved in many aspects of accounting and business. Let's discuss some other…
For your initial post, share your earliest memory of a laser. Compare and contrast your…
2. The Ajax Co. just decided to save $1,500 a month for the next five…
How to make an insertion sort to sort an array of c strings using the…
Assume the following Keynesian income-expenditure two-sector model: AD = Cp + Ip Cp = Co…