Pregunta de entrevista de B2C2

Difference between Atomic and volatile in Java?