✏️ Explanatory Question

What is synchronization?

👁 668 Views
📘 Detailed Answer
💡

Answer with Explanation

Synchronization is the capability to control the access of multiple threads to shared resources. synchronized keyword in java provides locking which ensures mutual exclusive access of shared resource and prevent data race.