What is Inheritance

Inheritance allow hierarchy of classes to have common code and define “IS A” relationship.  In this tutorial learn what is inheritance, what are its benefits and some simple examples.  Also learn what can be the drawbacks of Inheritance in this video.

 

What is Abstraction

Abstraction is a concept in OOPS which allows to have simpler view of classes and take out the common properties in take it up higher up in the hierarchy.  In this tutorial learn the concepts of Abstraction and see some simple examples of Abstraction.

What is Encapsulation

Encapsulation is one of the four principles of Object Oriented Programming. Encapsulation is used for hiding the data and binding the data and the methods withing the class.  In this video tutorial I have explained what is encapsulation and few simple examples of encapsulation in Java.