B2C2 Interview Question

Difference between Atomic and volatile in Java?