Capgemini interview question

Based on java and some hr questions