static import – JAVA

static import is used to make the availability of static members of the class in our current source file(.java). Simply when we use import statement then it makes availability of …

Stronger and weaker class – JAVA

In case of method overriding the access privilege of the method in the derived class should always be equal or greater than the access privilege of the method in super …

Method overriding – JAVA

When we have same name of the method in super and derived class with matching arguments, the method in derived class override the corresponding method in the super class, this …

final keyword – JAVA

final keyword has the following uses: If a variable is declared final, its value cannot be changed further in the program.  If a method is declared final, that method cannot …

Dynamic method dispatching – JAVA

When we store the instance of derived class in the reference variable of super class, the call which was supposed to refer to the method of super class dispatches dynamically …

Run time binding – JAVA

When we have same name of methods in super and derived class, the method in the super class gets overridden by the method in derived class at the run time, …