synchronized keyword in Java

The synchronized keyword indicates that a method can be accessed by only one thread at a time.