Synchronization Flashcards
1
Q
What is synchronization in java?
A
Synchronization is a way of controlling the access of a method or a block by multiple threads. Only one thread can enter into a method or a block which has been declared as synchronized. Synchronization is one of the way to achieve thread safety.
2
Q
More on Synchronization in Java
A
https://javaconceptoftheday.com/synchronization-in-java/