How can the synchronized keyword help in concurrent programming in Java?
synchronized
It automatically manages thread priorities
It improves the performance of the application
It restricts access to a method or block to one thread at a time
It allows multiple threads to access the method or block simultaneously