title: How to initialize an array of objects?
body: <p>I just looked at this <a href="https://stackoverflow.com/questions/5889034/how-to-initialize-an-array-of-objects-in-java">SO Post:</a></p>
  
  <p>However, the <a href="http://www.cs.nyu.edu/~cconway/teaching/cs1007/notes/arrays.pdf" rel="nofollow noreferrer">Columbia professor's notes</a> does it the way below.  See page 9.</p>
  
  <pre><code>Foo foos = new Foo[12] ;
  </code></pre>
  
  <p>Which way is correct?  They seem to say different things.</p>
  
  <p>Particularly, in the notes version there isn't <code>[]</code>.</p>