What does the following way of declaring an array mean?
<pre><code>Object[] args = new Object[0];
</code></pre>

<p>I came across this code in my code base while debugging.</p>

<p>Somewhere later there is another statement like this:</p>

<pre><code>args = new Object[10] ;
</code></pre>

<p>Questions : <br/></p>

<ol>
<li>Why would some one want to initialize an array of length zero?</li>
<li>Why cant the code just be: <code>Object[] args</code> and then when the time comes <code>args = new Object[10]</code>. Is there any significance in creating an array of length zero?</li>
</ol>
