Inheritance
Dear Sir/Madam,
The code you have in the 'Inheritance section' doesn't seem to compile properly.
Car and RacingCar compile fine.But MyOwnCar gives this error
MyOwnCar.java:17: error: cannot find symbol
MyRacingCar.RacingCarPrintstate ( );
^
symbol: variable MyRacingCar
location: class MyOwnCar
1 error