1.

Mention The Uses Of Synchronized Block

Answer»

We are using SYNCHRONIZED block because
• It HELPS to LOCK an object for EVERY shared resource.
• The scope of synchronized block is smaller than the method.

We are using Synchronized block because
• It helps to lock an object for every shared resource.
• The scope of synchronized block is smaller than the method.



Discussion

No Comment Found