title: Error array dimension missing
body: <p>I keep getting array dimension missing</p>
  
  <pre><code>public static Planet[] readPlanets(String filename) {
  
      allPlanets = new Planet[];
      In in = new In (filename);
      int nplanets = in.readInt();
      double radius = in.readDouble();
      for (int i = 0; i &lt; allPlanets.length; i++) {
          double pxxPos = in.readDouble();
          double pyyPos = in.readDouble();
          double pxxVel = in.readDouble();
          double pyyVel = in.readDouble();
          double pmass = in.readDouble();
          String pimgFileName = in.readString();
      }
      return allPlanets;
  }
  </code></pre>
  
  <p>Planet has six dimensions, and I have an array of multiple planets</p>