Virtusa interview question

Oops in c++, SQL, DBMS