title: volatile and atomic together. Does it make any sense?
body: <p>I noticed that all examples about atomic writes without <code>volatile</code> keyword. Surely it is right.</p>
  
  <p>What will happen if I add the volatile modifier to my atomic link ?</p>
  
  <p>Is there difference between :</p>
  
  <pre><code>public class VolatilAtomic {
      volatile AtomicInteger atomicInteger = new AtomicInteger();
  }
  </code></pre>
  
  <p>and </p>
  
  <pre><code> public class VolatilAtomic {
           AtomicInteger atomicInteger = new AtomicInteger();
      }
  </code></pre>
  
  <p>?</p>