Inheritance in object oriented programming can be defined as a procedure in which a class inherits properties, attributes and functions from another class.
The class sharing its methods and attributes is called the parent class and the class inheriting is called the child class. This helps with reusability of code.