title: initializing a boolean array in java
body: <p>I have this code</p>
  
  <pre><code>public static Boolean freq[] = new Boolean[Global.iParameter[2]];
  freq[Global.iParameter[2]] = false;
  </code></pre>
  
  <p>could someone tell me what exactly i'm doing wrong here and how would i correct it? I just need to initialize all the array elements to Boolean false.
  thank you</p>