Inheritance enables the reuse of software. It is to create a mother class,the "superclass", and let sub classes inherit features. Inheritance models the "is-a" relationship. A superclass "plant" would contain the subclass "sunflower" because a sunflower "is-a" plant.
Java uses single inheritance.