Advanced
Java
Q78 / 100
What is the Java Memory Model (JMM) and why does it matter?
Correct! Well done.
Incorrect.
The correct answer is B) A specification defining how threads interact through memory and which executions are legal
B
Correct Answer
A specification defining how threads interact through memory and which executions are legal
Explanation
The JMM defines happens-before relationships, ensuring developers can reason about visibility and ordering across threads when using synchronization, volatile, and locks.
Progress
78/100