Method overriding is an example of run time polymorphism. In this, the specific implementation of the method that is already provided by the parent class is provided by the child class. It is used to change the behavior of existing methods. In method overriding, inheritance always required as it is done between parent class(superclass) and child class(child class) methods.