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