fr
fr

Question from the Java - Fundamentals test

What is the benefit of using a ReentrantLock in Java?

Medium

What is the main advantage of using java.util.concurrent.locks.ReentrantLock over the synchronized keyword?

Author: W3D TeamStatus: PublishedQuestion passed 251 times
Edit
3
Community Evaluations
developer avatar
Dragon parfait
13/12/2024
Il faudrait la version anglaise avant de valider.
developer avatar
Heinz
21/01/2025
ok
developer avatar
Zouzou Samuel
28/02/2025
Il permet une granularité plus fine pour le verrouillage