Fast Enterprises interview question

Explain inheritance.