Infosys interview question

JAVA,SQL and some basic programming