What does the `synchronized` keyword do in Java?
The `synchronized` keyword in Java allows multiple threads to execute a method or block simultaneously without any restrictions.
Thatâ€™s incorrect. The `synchronized` keyword prevents multiple threads from executing the synchronized method concurrently.
Can you explain how the `synchronized` keyword enforces mutual exclusion?