Programming Tutorials

Comment on Tutorial - Inheritance Example in Java By Watson



Comment Added by : niyati

Comment Added at : 2011-05-28 07:57:52

Comment on Tutorial : Inheritance Example in Java By Watson
constructors are not to be called. when you make an object of the class bicycle, you simply pass your values for it. the constructor in bicycle takes care of initialising its own and its super's variable. :)

View Tutorial