To override a method, we just provide a new implementation of a
method with same name in subclass. So there will be at least two
implementations of the method with same name. One
implementation is in parent class. And another implementation is in
child class.
Post a Comment