Question PRG-JAVA-0072
HardWhat does the 'volatile' keyword guarantee for a Java field?
- A.
Reads and writes go to main memory, so all threads see the latest value, and they aren't reordered across it
- B.
Thread-local storage
- C.
Sign up free to see the answer and a step-by-step explanation.