3 ms·
Yes, that usually would work, but it's more error-prone than composition, because there may be calls in the base class to the method you overrode. You could eve
by skybrian 7y ago
Yes, that usually would work, but it's more error-prone than composition, because there may be calls in the base class to the method you overrode. You could even inadvertently create infinite recursion.