0
Why define two methots if your going to use super?
i would like an example
1 Answer
+ 2
it appears useless if the method in the super class and in the subject class are exactly the same. but this is targeting to achieve polymorphism (same method different behavior). the sub class may redefine the method that is already defined by the super class (this is called overriding) and you may explicitly want to call the method of the super class from the sub class object. THAT IS WHERE WE NEED THE super METHOD. đ