Veeras Infotek interview question

Inheritance