2 ms·
> The derived object has to be substitutable for the base object That's polymorphism, and isn't part of the definition of inheritance. Otherwise, inheritance a
by bheadmaster 3y ago
> The derived object has to be substitutable for the base object
That's polymorphism, and isn't part of the definition of inheritance. Otherwise, inheritance and polymorphism wouldn't be separate concepts.