benefits of inheritance?
Answers
Answered by
6
One of the key benefits of inheritance is to minimize the amount of duplicate code in an application by sharing common code amongst several subclasses. Where equivalent code exists in two related classes, the hierarchy can usually be refactored to move the common code up to a mutual superclass.
hope it helps..
hope it helps..
Similar questions