Synechron interview question

Explain inheritance