Multiple choice

________ is a process which ensures that the resource will be used by only one thread at a time.

  1. Reload

  2. Synchronization

  3. Notify

  4. Refresh

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Synchronization is the mechanism that ensures only one thread can access a shared resource at a time, preventing race conditions and data corruption. It uses locks or monitors to control access to critical sections of code.