Leidos interview question

What does the synchronized keyword in java do?

Interview Answer

Anonymous

20 Apr 2019

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

1