javascript
Brief description  about Online courses   join in Online courses
View Thuto McMillan Motseothata 's Profile

Im getting error: cannot find symbol on my Inheritance Project Module Assignment

C:\Java Project Modules\Practice>javac BicycleTest.java
BicycleTest.java:12: error: cannot find symbol
bm.BMXState();
^
symbol: method BMXState()
location: variable bm of type BMX
1 error

C:\Java Project Modules\Practice>javac BicycleTest.java
BicycleTest.java:12: error: cannot find symbol
bm.BMXState();
^
symbol: method BMXState()
location: variable bm of type BMX
1 error

C:\Java Project Modules\Practice>
Asked by Thuto McMillan Motseothata | Jun 27, 2013 |  Reply now
Replies (2)
View thuto mcmillan motseothata 's Profile
Thanks so much it worked ...I
Jul 1, 2013
View arindam dhara 's Profile
try saving the BicycleTest.java file in bin folder of jdk...and then execute the file via that directory extension:
eg: C:\program files\java\jdk1.7.0\bin javac BicycleTest.java
Jun 28, 2013