Capgemini interview question

Basics of Java and SQL