In this tutorial you will learn about the R Inheritance and its application with practical example.
The inheritance is one of the important feature in object oriented programming, that facilitates the code re-usability. Inheritance is a mechanism through which a class(derived class) can inherit properties and methods from an existing class(base class).
Sub Class:- The class that inherits properties and methods from another class is know as Sub-class or Derived-Class.
Super Class:- The class whose properties and methods are being inherited by sub class is called Base Class or Super class.