June 2018
Intermediate to advanced
408 pages
11h 23m
English
The Lock interface provides more advanced locking mechanisms than the synchronized block. The main difference between the synchronized block and Lock is that the synchronized block is fully contained in a method while the Lock interface has separate methods, lock() and unlock(), that can be called in a different method.
Read now
Unlock full access