Pregunta de entrevista de Staples

Code - how do you manage thread in java