Inventory3.java:5: cannot find symbol
symbol : class Inventory
location: class Inventory3
private static Inventory i;
^
Inventory3.java:10: cannot find symbol
symbol : class SuvCar
location: class Inventory3
Suvcar = new SuvCar(1, "Escape", 3, 34714.99);
^
Henry Wong wrote:You seem to be missing a few classes...
Inventory3.java:5: cannot find symbol
symbol : class Inventory
location: class Inventory3
private static Inventory i;
^
Inventory3.java:10: cannot find symbol
symbol : class SuvCar
location: class Inventory3
Suvcar = new SuvCar(1, "Escape", 3, 34714.99);
^
Where is the Inventory class, and the SuvCar class?
Henry
This might be \n (*nix) \r (older Macs) or \r\n (DOS/Windows).'n' line separator The result is the platform-specific line separator
Inventory3.java:10: cannot find symbol
symbol : variable Car
location: class Inventory3
Car = new Car(1, "Escape", 3, 34714.99);
^
Inventory3.java:11: cannot find symbol
symbol : variable Car
location: class Inventory3
Car = new Car(2, "Taurus", 5, 24999.99);
^
InventoryProgramPart3.java:46: cannot find symbol
symbol : class Car2
location: class InventoryProgramPart3
public static double calculateInventory(Car2[] cars) {
^
Kevin Quarles wrote:
Let me repeat for you, there are no errors showing up when I compile or run the program, I am just getting kicked out of it for some reason