Pregunta de entrevista de Leidos

What does the synchronized keyword in java do?

Respuesta de la entrevista

Anónimo

20 de abr de 2019

creates a block of code in which only one thread will be able to execute at any given time.

1