Aggregation is a special form of association. It is a relationship between two classes like association, however its a directional association, which means it is… [Read More]
OOPs concepts – What is Association in java?
Association is an important concept of object-oriented programming. In this article, we will discuss what is an Association in Java with the help of examples and… [Read More]
Encapsulation in Java with example
Encapsulation is one of the fundamental concept of object-oriented programming (OOP) It is widely used for data hiding, it binds the data (variables) and the… [Read More]
Does Java support Multiple inheritance?
When one class extends more than one classes then this is called multiple inheritance. For example: Class C extends class A and B then this… [Read More]
Types of inheritance in Java: Single,Multiple,Multilevel & Hybrid
Below are Various types of inheritance in Java. We will see each one of them one by one with the help of examples and flow… [Read More]
Garbage Collection in Java
When JVM starts up, it creates a heap area which is known as runtime data area. This is where all the objects (instances of class)… [Read More]
OOPs Concepts in Java With Examples
In this guide, you will learn the OOPs Concepts in Java. Object-oriented programming System(OOPs) is a programming concept that is based on “objects”. The primary… [Read More]
Java – Static Class, Block, Methods and Variables
Static keyword can be used with class, variable, method and block. Static members belong to the class instead of a specific instance, this means if… [Read More]
Static and dynamic binding in java
Static and dynamic binding are basic OOPs concepts. These concepts are associated with the polymorphism. When a method is called in a java program, its… [Read More]
Types of polymorphism in java- Runtime and Compile time polymorphism
In the last tutorial we discussed Polymorphism in Java. In this guide we will see types of polymorphism. There are two types of polymorphism in… [Read More]