No, because a boat doesn't have a tire to change.
Look at it this way.
AUTO is a type of transport.
Car and MotorBike are types of AUTO.
The ChangeTire() method is unique to AUTOmobiles, for this example.
Both the Car and the MotorBike are going to override the ChangeTire() method, because...
Hey newToASP,
To keep with the OOP paradigm, you always include the generic functionality that will comprise the base object. The base object will NEVER be created. However, the traits of derived objects MUST be present for them to be considered as derivations of the base class...
Man, that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.