Advanced
Java
Q90 / 100
What is the Happens-Before relationship in Java concurrency?
Correct! Well done.
Incorrect.
The correct answer is B) A JMM guarantee that all effects of action A are visible to action B if A happens-before B
B
Correct Answer
A JMM guarantee that all effects of action A are visible to action B if A happens-before B
Explanation
The JMM's happens-before relation (§17.4.5) defines when one action's results are guaranteed visible to another — established by synchronized, volatile, thread start/join, etc.
Progress
90/100