Answer by
trigonometry (668)
If a Java method is marked by the keyword synchronized it means that it can be accessed by one thread in parallel alone. So, if one program thread is currently executing the code, another thread calling the method will have to wait for the first thread to exit the method.