Capgemini interview question

3 programs from Java.