javascript
Brief description  about Online courses   join in Online courses
View Sreeja  Nair 's Profile

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();
Asked by Sreeja Nair | Apr 2, 2014 |  Reply now
Replies (1)
View Java Teacher 's Profile
Send me the program associated error screen shot to my mail id
akdas.silcionindia@gmail.com so that i can able to check the exact error which happened.
Apr 3, 2014