Manufacturer manu = new Manufacturer();
{
products[MAX_NUM_OF_PRODUCTS] = manu;
numOfProducts++;
}
I added this instance to my (object) Inventory class and still same...
Type: Posts; User: Chrischad
Manufacturer manu = new Manufacturer();
{
products[MAX_NUM_OF_PRODUCTS] = manu;
numOfProducts++;
}
I added this instance to my (object) Inventory class and still same...
methods are in the subclass Manufacturer but I think if did not invoke the constructor and then invoke the methods.
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...
System.out.println("Manufacturer: " + supplies.getManu()); is line 76. Using netbeans, says can not find method getManu .
System.out.println("Restocking Fee: " +...
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
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;...