How to use single inheritance in java?

Inheritance represents the IS-A relationship, also known as parent-child relationship.