title: integer array static initialization
body: <p>Which two code fragments correctly create and initialize a static array of int
  elements? (Choose two.)</p>
  
  <p>A.</p>
  
  <pre><code>static final int[] a = { 100,200 };
  </code></pre>
  
  <p>B. </p>
  
  <pre><code>static final int[] a;
  static { a=new int[2]; a[0]=100; a[1]=200; }
  </code></pre>
  
  <p>C.</p>
  
  <pre><code>static final int[] a = new int[2]{ 100,200 };
  </code></pre>
  
  <p>D.</p>
  
  <pre><code>static final int[] a;
  static void init() { a = new int[3]; a[0]=100; a[1]=200; }
  </code></pre>
  
  <p>Answer: A, B</p>
  
  <p>here even D seems true, can anyone let me know why D is false.</p>