Category Archives

Using final with Inheritance in Java

final is a keyword in java used for restricting some functionalities. We can declare variables, methods and classes with...

Using final with Inheritance in Java

final is a keyword in java used for restricting some functionalities. We can declare variables, methods and classes with...

Interfaces and Inheritance in Java

A class can extends another class and/ can implement one and more than one interface. // Java program to...

Interfaces and Inheritance in Java

A class can extends another class and/ can implement one and more than one interface. // Java program to...

Inheritance and constructors in Java

In Java, constructor of base class with no argument gets automatically called in derived class constructor. For example, output...

Inheritance and constructors in Java

In Java, constructor of base class with no argument gets automatically called in derived class constructor. For example, output...

Java Object Creation of Inherited Class

In inheritance, subclass acquires super class properties. An important point to note is, when subclass object is created, a...

Java Object Creation of Inherited Class

In inheritance, subclass acquires super class properties. An important point to note is, when subclass object is created, a...

Java and Multiple Inheritance

Multiple Inheritance is a feature of object oriented concept, where a class can inherit properties of more than one...

Java and Multiple Inheritance

Multiple Inheritance is a feature of object oriented concept, where a class can inherit properties of more than one...

Understanding Classes and Objects in Java

The term Object-Oriented explains the concept of organizing the software as a combination of different types of objects that...

Understanding Classes and Objects in Java

The term Object-Oriented explains the concept of organizing the software as a combination of different types of objects that...

Why Java is not a purely Object-Oriented Language?

Pure Object Oriented Language or Complete Object Oriented Language are Fully Object Oriented Language which supports or have features...

Why Java is not a purely Object-Oriented Language?

Pure Object Oriented Language or Complete Object Oriented Language are Fully Object Oriented Language which supports or have features...

Static vs Dynamic Binding in Java

Static Binding: The binding which can be resolved at compile time by compiler is known as static or early...

Static vs Dynamic Binding in Java

Static Binding: The binding which can be resolved at compile time by compiler is known as static or early...

Instance Initialization Block (IIB) in Java

In a Java program, operations can be performed on methods, constructors and initialization blocks. Instance Initialization Blocks or IIB...

Instance Initialization Block (IIB) in Java

In a Java program, operations can be performed on methods, constructors and initialization blocks. Instance Initialization Blocks or IIB...

The Initializer Block in Java

Initializer block contains the code that is always executed whenever an instance is created. It is used to declare/initialize...

The Initializer Block in Java

Initializer block contains the code that is always executed whenever an instance is created. It is used to declare/initialize...