declaring more than 10 objects
<p>as we know we can declare an array like this </p>

<pre><code>for (int i=0;i&lt;array.length;i++)

{ d[i]=new array();}
</code></pre>

<p>What about an object I want to declare more than 10 objects and I think it's not efficient to 
write a declare statements for 10 times !!like this </p>

<pre><code>car c1 = new car();
car c2= new Car(); 
</code></pre>

<p>..etc</p>

<p>what can I do ?</p>
