NIIT Limited interview question

about Java and DBMS and Project