title: What does new Object[]{} in Java means?
body: <p>In Java you are able to do the following:</p>
  
  <pre><code>new Object[] { /* parameters separated by comma */};
  </code></pre>
  
  <p>Indeed, this is used in the prepared statements of the Spring framework. 
  Eg:</p>
  
  <pre><code>getJdbcTemplate().queryForList(
     "DELETE FROM foo WHERE id = ?", //the "?" mark will be substituted by "3"
     new Object[] { 3 }, //What kind of magic is this?
     String.class //Irrelevant in this example
  );
  </code></pre>
  
  <ul>
  <li>How is this called?</li>
  <li>What is going on there?</li>
  <li>How could you access that parameters?</li>
  </ul>