Pergunta de entrevista da empresa Asurion

Explain what does the synchronized block in java do