Kovair Software interview question

Oops concepts and SQl queries