In java this is a reference variable that refers to the current object. Usage of this keyword in java: 1. […]
Month: July 2020
What is encapsulation in java | Java Encapsultion | Getters and Setters
Java Encapsulation Encapsulation is defined as the wrapping up of data under a single unit.Example: A capsule which is mixed […]
Abstraction | Java Abstraction OOPs | Abstract Class and Method
Java Abstraction — Abstraction in JAVA “shows” only the essential attributes and “hides” unnecessary details of the object from the […]
What is Polymorphism in Java | Java Polymorphism | Polymorphism
Java Polymorphism Polymorphism is one of the most important concept in OOPS and also It is beneficial for any other […]
What is Inheritance in Java? Java Inheritance types | Inheritance in Java Example
Inheritance can be defined as the process where one class acquires the properties of another class. Properties – Methods and […]
What is Constructors in Java | Java Constructor
Constructor can be defined as a block similar to a method, having same name as that of class name.. Example […]