1537Software EngineeringMedium
Which of the following object is used along with application object in order to ensure that only one process accesses a variable at a time?
ALock()
BSynchronize()
CThreadLock
Correct answer
B. Synchronize()
Explanation
The correct answer is Synchronize().