![](https://www.gurukpo.com/wp-content/uploads/2015/08/1.png)
when one class acquires the properties of another class then this concept is called inheritance. This is used for reuse the existing functionality.
For Example: children acquire the properties of their parents.
New class is called sub class and existing class is called super class.