Elastic interview question

What are the semantics of `volatile` in Java.