Method overriding occurs when a child class differs from its parent class; it changes the semantics of a method stated in the superclass.