Wipro interview question

About OOPS and Inheritance Specifically