Inheritance is the OOPS features:
Inheritance means re-usability.for example
son re-use his father sir name like father name is ranbir singh and son name is karan singh . so there is singh is a sir name.
in java, there are three types of inheritance are supported, which are
1) single inheritance
2) multi-level inheritance
3) hierarchical inheritance
in java multiple inheritance are not supported through class bu it is possible through interface in java