Pregunta de entrevista de Lodestone Software Services

one complex question about boxes implemeting in java