+ 3
Because, as the child has all attributes and method the parent has (and some more), it can be described the same way the parent is. Let's say we have the class Animal, which is the parent class of Dog. It is natural to say that a Dog is an Animal and can be described as such
26th Sep 2017, 7:16 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar