Pergunta de entrevista da empresa inLumon

What does this code print out (Java, several questions).