method overriding is an ability of any object-oriented programming language that allows subclass or child class to provide specific implementation of method that is already provided by one of its super-classes or parent classes when method in subclass has the same namesame parameters or signature and same return type(or sub-typeas method in its super-classthen the method in the subclass is said to override the method in the super-class the version of method that is executed will be determined by the object that is used to invoke it if an object of parent class is used to