How does the keyword volatile affect how a variable is handled?
volatile
It will never be cached by the CPU.
It will be stored on the hard drive.
It will be preferentially garbage collected.
It will be read by only one thread at a time.