Passing Array as argument in form {}
<p>I can set an array like this:</p>

<pre><code>Object[] objects = {new Object()};
</code></pre>

<p>However if I have a method:</p>

<pre><code>public void setObject(Object[] objects) {

}
</code></pre>

<p>I cannot do the following:</p>

<pre><code>setObject({new Object()});
</code></pre>

<p>Why is this? Why doesn't <code>{new Object()}</code> suffice as an argument but suffices to initialize an <code>Object[]</code> array?</p>
