Pregunta de entrevista de Thoughtworks

Design round for an application and general java question