Adrosonic interview question

Inheritance