Capgemini interview question

SQL queries and oops concept were asked by them.