Override
Sometimes a subclass inherits a method from a superclass that doesn’t quite fit its needs. Perhaps the subclass inherited twenty methods and just one of them wasn’t quite right.
In that case, the subclass would override that method by redefining that method itself.
This override does not affect the method as defined in the superclass.
Comments - No Responses to “Override”
Sorry but comments are closed at this time.