In my post I entered the question wrong, what I am trying to ask is why when I getCost from my driver, instead of the currentInventoryValue resetting to zero, it instead does numberOnOrder *...
Type: Posts; User: takira
In my post I entered the question wrong, what I am trying to ask is why when I getCost from my driver, instead of the currentInventoryValue resetting to zero, it instead does numberOnOrder *...
public class InventoryDriver
{
public static void main(String[] args)
{
InventoryItem item1 = new InventoryItem("d-145-blk", "Black Case-it Large Capacity 3-Inch Zipper Binder", 5.50, 65);...
I am trying to make a program for my java course and it is supposed to hold basic inventory items for an office supply store. My instance variables are:
String itemNumber;
integer quantityOnHand; ...