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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

More on Synchronization in Java

A

https://javaconceptoftheday.com/synchronization-in-java/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly