Capgemini Interview Question

Related to Java and SQL.