Overriding a method occurs when a subclass implements a method with the same method signature as a superclass. Overriding can replace functionality implemented in the superclass, or can add to it by invoking the superclass' method.
When using inheritance your new class gets all the methods from its parent or super class. However you may want a different implementation for one of these methods. You do so by overriding the original (inherited) method with your own code. Your new code may even call the original method in the parent class.
Providing a different implementation of a method in a subclass of the class that originally defined the method.
When a subclass redefines a method from the parent class - we won't see this until we talk about inheritance (the very end of the course)
Replacing a method that would otherwise be inherited from a superclass with a new method defined in the subclass is called overriding the method.
Creating a method or variable in a subclass that replaces something it inherited from its superclass.
Overriding occurs when a method definition in the class definition of a subclass redefines a method that would otherwise be inherited from a superclass definition. The overriding method must have the same identifier and signature (including return type) as the method in the superclass definition.