title: java: primitive arrays -- are they initialized?
body: <p>If I use a statement in my code like</p>
  
  <pre><code>int[] a = new int[42];
  </code></pre>
  
  <p>Will it initialize the array to anything in particular? (e.g. 0) I seem to remember this is documented somewhere but I am not sure what to search for.</p>