| Example | |
|
| Solution | |
Instead of
calling virtual functions, make the function non-virtual, then pass
parameters from base classes to specify desired behaviour.
|