Wipro interview question

Basic question on oops DBMS and project