Cognizant interview question

Oops concept, dbms, sql basics