Hexaware Technologies interview question

Java and oops and DBMS