What is the purpose of Synchronized block?
Page 1 of 1
What is the purpose of Synchronized block?
Synchronized block is used to lock an object for any shared resource.
Scope of synchronized block is smaller than the method.
Similar topics
» Is it necessary that each try block must be followed by a catch block?
» What is finally block?
» Can finally block be used without catch?
» What is the purpose of finalize() method?
» What is the purpose of the Runtime class?
» What is finally block?
» Can finally block be used without catch?
» What is the purpose of finalize() method?
» What is the purpose of the Runtime class?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|