Broadridge interview question

Questions on java and sql.