Question: Assume that class inherits from class . Polymorphism means... choosing to have Derived inherit from Base to reduce code duplication making Base an interface so
Assume that class inherits from class . Polymorphism means... choosing to have Derived inherit from Base to reduce code duplication making Base an interface so that it can be instantiated without executing a constructor using inheritance to increase coupling between Derived and Base a variable of of type Derived can refer to an object of concrete type Base a variable of type Base can refer to objects of different concrete types over time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
