JAVA Introduction

Java is an object oriented language and developed by Sun Microsystems in 1991 in USA. Java is object oriented language. And use to develop the windows applications and web applications. …

JAVA

Java is an object oriented language and developed by Sun Microsystems in 1991 in USA. Java is object oriented language. And use to develop the windows applications and web applications. …

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, …

Compile time binding – JAVA

When we have different methods in super and derived class, it is very much clear at the time of compilation that which method are to be invoked or executed as …

super constructor – JAVA

super constructor provides us the facility to call a constructor of a super class from within the constructor of derived class. Call to the super constructor must always be the …