Search:

Type: Posts; User: takira

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,177

    Re: help with setters and getters

    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 *...
  2. Replies
    3
    Views
    1,177

    help with setters and getters

    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);...
  3. Replies
    2
    Views
    1,132

    help with setters and getters

    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; ...
Results 1 to 3 of 3