Question OOP-ENC-0079
HardWhat does Java's 'final' on a field guarantee in multi-threaded code?
- A.
Other threads see the field's final value once the constructor finishes (safe publication)
- B.
The field can be changed by any thread
- C.
Sign up free to see the answer and a step-by-step explanation.