Capgemini Interview Question

Opps in java and sql