GlobalLogic interview question

Majorly on java and database