Frage im Vorstellungsgespräch bei Leidos

What does the synchronized keyword in java do?

Antwort im Vorstellungsgespräch

Anonym

20. Apr. 2019

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

1