Capgemini interview question

Java basic, Oops related ques, sql etc