Answer: When a piece of code is accessed by more than one threads at the same time, we need synchronization. Reason is that we may
Answer: When a piece of code is accessed by more than one threads at the same time, we need synchronization. Reason is that we may