Tech Mahindra interview question

Oops concepts and SQL, based on the resume