What does synchronized modifier do in Java?
Answers
Answered by
2
Synchronized blocks in Java are marked with the synchronized keyword. A synchronized block in Java is synchronized on some object. All synchronized blocks synchronized on the same object can only have one thread executing inside them at a time. ... When a thread acquires a lock, it is said to have entered the monitor...
RBilalahmed:
please mark me as brainliest
Similar questions