title: Will volatile variables in a class be set to 0 by default?
body: <p>I know java will have a default constructor to initialize variables to 0, but how about volatile variables?</p>
  <pre><code>   class Test { 
         volatile long a;
         volatile double b;
         volatile int c;
      }
  </code></pre>
  <p>and I print them and every time result is 0, but is it guaranteed ?</p>