When do we go for thread synchronization?

Options
- when there is a single thread
- when we want to prevent any other multiple thread to act an same object
- to remove the lock on the thread
- to make a thread in sleep mode


CORRECT ANSWER : when we want to prevent any other multiple thread to act an same object

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement