I think i have the codes right, and the main method was provided, yet i am getting errors in both methods
this compiles with no error
this is the provided main method, which i can not compile
error is :
----jGRASP exec: javac -g LandTractDemo.java
LandTractDemo.java:20: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract1 = new LandTract(length, width);
^
LandTractDemo.java:20: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract1 = new LandTract(length, width);
^
LandTractDemo.java:28: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract2 = new LandTract(length, width);
^
LandTractDemo.java:28: cannot find symbol
symbol : class LandTract
location: class LandTractDemo
LandTract tract2 = new LandTract(length, width);
^
4 errors
----jGRASP wedge: exit code for process is 1.