Krivalar Tutorials 
Krivalar Tutorials

Java OOPS - Object oriented programming concepts


<JRE JDK JVM

Hello World >





Encapsulation

The concept of safeguarding or hiding the data from improper or accidental usage is called encapsulation.This is just like hiding the powdered medicine inside a capsule.

Encapsulation is supported in Java by use of private, public, protected or default keywords

Inheritance

The concept of reusing the data and activties from a parent entity is called inheritance.

Java supports only Multi-Level inheritance and does NOT support Multiple inheritance.

Abstraction

The concept of enabling reuse by extracting common information and behaviours from multiple entities and creating entities from the extrtacted information and behaviours. Inheritance is one form of Abstraction.


Polymorphism

It is the ability of programming constructs to exist in different forms.

In Java, behaviours named as Java methods can exist with different method signatures.


<JRE JDK JVM

Hello World >