Posts by Maurício • 21 points
1 post
-
1
votes2
answers186
viewsQ: How does Java sync work?
What’s the advantage of having two threads, which run at the same time but which one waits for the other to be completed to be executed? When using the SYNCHRONIZED keyword in a JAVA application…