Search:

Type: Posts; User: Chrischad

Search: Search took 0.17 seconds.

  1. Re: Java programming. Program is not getting information from a subclass

    Manufacturer manu = new Manufacturer();
    {
    products[MAX_NUM_OF_PRODUCTS] = manu;
    numOfProducts++;
    }
    I added this instance to my (object) Inventory class and still same...
  2. Re: Java programming. Program is not getting information from a subclass

    methods are in the subclass Manufacturer but I think if did not invoke the constructor and then invoke the methods.
  3. Re: Java programming. Program is not getting information from a subclass

    Supply has the variable supplies to call the inventory but those two methods are not in that class but in the subclass that should be called by super. I'm just confused as to what i've done wrong at...
  4. Re: Java programming. Program is not getting information from a subclass

    System.out.println("Manufacturer: " + supplies.getManu()); is line 76. Using netbeans, says can not find method getManu .
    System.out.println("Restocking Fee: " +...
  5. Re: Java programming. Program is not getting information from a subclass

    run:
    Welcome to the Inventory program


    Enter product Name or Exit to stop: d
    Inventory number: 3
    Enter manufacturer: jjl
    How many in Stock: 4
    Enter Price: 4
  6. Java programming. Program is not getting information from a subclass

    I can not figure out why my output doesn't seem to call from my manufacturer class to output the data. Just looking for advise as what I May have done wrong.



    package inventory.program2;...
Results 1 to 6 of 6