Question d’entretien chez Leidos

What does the synchronized keyword in java do?

Réponse à la question d'entretien

Utilisateur anonyme

20 avr. 2019

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

1