| Example | |
|
| Solution | |
Do not redefine a
new default value in the base class. Since non-virtual functions should
not be overrided, making a non-virtual interface indicates that the
default parameter should not be changed.
|