#beginners
Read more stories on Hashnode
Articles with this tag
If a class have an entity reference, it is known as Aggregation. Aggregation represents HAS-A relationship. Aggregation in Java is a mechanism of...
An abstract class in Java is a special kind of class that cannot be instantiated on its own. It is used as a base class or blueprint for creating...
Final is a Non-acess modifier.The final keyword in Java can be used for different purposes. Most commonly, it is used to create immutable objects....
If subclass (child class) has the same method as declared in the parent class, it is known as method overriding. Usage of Method Overriding Method...
This keyword is a reference variable that refer to a current Object. This can be used to refer current class instance variable. If we don't use this...
Inheritance is a process in which one object acquires all the properties & behavior of a parent object. When you inherit from an existing class, you...