What is use for synchronization in Java?
Answers
Answered by
0
The Java synchronized keyword is an essential tool in concurrent programming in Java. Its overall purpose is to only allow one thread at a time into a particular section of code thus allowing us to protect, for example, variables or data from being corrupted by simultaneous modifications from different threads.
shereef4me:
plz mark as brainliest
Answered by
0
The Java synchronized keyword is an essential tool in concurrentprogramming in Java. Its overall purpose is to only allow one thread at a time into a particular section of code thus allowing us to protect, for example, variables or data from being corrupted by simultaneous modifications from different threads.
Similar questions