Dr. Reddy's interview question

Inheritance