title: Declaration of array size is illegal
body: <p>I'm a beginner in Java and I can't find info on this very basic issue:</p>
  
  <p>Eclipse doesn't let me declare an array of fixed size:</p>
  
  <pre><code>public class Camera {
      public Boolean [10] glCapabilities;
      //...
  }
  </code></pre>
  
  <p>It says, </p>
  
  <blockquote>
    <p>Syntax error on token "10", delete this token</p>
  </blockquote>
  
  <p>So I can declare a "dynamic" sized array but not a fixed sized one. For me it's like declaring 10 public booleans as attributes of the class. </p>
  
  <p>What's wrong with this?</p>