title: array syntax: private classType[] identifier = new classType[] {};
body: <p>I'm reading Android Programming:
  The Big Nerd Ranch Guide and i dont understand the following java syntax. can someone explain this java syntax or at least dierct me where to find explanation;</p>
  
  <pre><code>private classType[] identifier = new classType[] {
                                  // several lines of new classType(arg0, agr1) };
  </code></pre>
  
  <p>here is an example on page 39:</p>
  
  <pre><code>private TrueFalse[] mQuestionBank = new TrueFalse[]{
  new TrueFalse(R.string.question_oceans, true),
  new TrueFalse(R.string.question_mideast, false),
  new TrueFalse(R.string.question_africa, false),
  new TrueFalse(R.string.question_americas, true),
  new TrueFalse(R.string.question_asia, true),
  };
  </code></pre>
  
  <p>I'm used to arrays with syntax like this: <code>private classType[] identifier = new classType[]</code>. The part I don't get is the curly braces. Thanks for answering</p>