KPIT Technologies interview question

About Basic OOP's Concepts and from Database and SQL query