What does the volatile modifier do
Select Answer:
The value of the object is written immediately on assignment
The value is lost after the system reads it.
The system stored the value until the end of all current threads
The system always reads the current value of a volatile object at the point it is requested
|