title: What is the difference between Atomic Integer and Normal immutable Integer class in Java?
body: <p>As Integer class is also immutable class and we know that immutable class is thread-safe what is the need of Atomic Integer. 
  I am confused . 
  Is it the reason that reads and write of immutable objects need not be atomic whereas read and write of atomic integer is atomic .
  That means atomic classes are also thread-safe.</p>