as we know we can declare an array like this
for (int i=0;i<array.length;i++)
{ d[i]=new array();}
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
car c1 = new car();
car c2= new Car();
..etc
what can I do ?