Quote:
Originally Posted by JkWhoSaysNi
By function inheritance I mean that when you call function() in a child, it's possible to also call it in the parent.
|
Typically in OOP, this is not the desired effect. The parent function should only be called if the child does not have a function of the same name (should be a virtual function).