Wipro interview question

Inheritance vs abstraction