Programming Tutorials

Comment on Tutorial - Inheritance Example in Java By Watson



Comment Added by : SM

Comment Added at : 2011-02-08 19:43:29

Comment on Tutorial : Inheritance Example in Java By Watson
Why do you need main, Sir?
MountainBike and Bicycle are public classes, so
you can create an application and use MountainBike or Bicycle as you need (with main defined in that application)
:-)
SM


View Tutorial