OOP IN JAVA(MERHOD OVERRIDING AND " super" KEYWORD)
M ETHOD OVERRIDING A subclass inherits all variables and methods from its super class. we can modify the superclass methods in subclass with the same method as defined in superclass. Some it is very important to modify superclass method in subclass to change or customize the implementation of superclass method. N ormally ; its means method overriding is a changing the body of the method coming from a superclass to a sub class. note : especial thing is an overriding , only the method related to the object is always executed and also it can be used for runtime polymorphism class Vehicle{ void run(){ System.out.println( "Vehicle is running" ); } } //Creating a sub (child) class class Bike extends Vehic...