Capgemini Interview Question

Java, multithreading