Morningstar interview question

What is inheritance explain with example