LTM Limited interview question

Mostly about java and oops and DBMS