Inheritance
Hi ,
The code you have in the 'Inheritance section' doesn't seem to compile properly.
Car and RacingCar compile fine.But MyOwnCar gives this error
non-static method RacingCarPrintstate() cannot be referenced from a static context RacingCar.Racingcarprintstate();