Intel Corporation interview question

Explain inheritance