its kinda basic question but still bugging me..
why doesnt
MyObject [] myobject = new MyObject [10];
doesnt allocate 10 objects? why we have to call new on each individual object aswell.
myobject [0] = new MyObject();
.
.
.
myobject [9] = new MyObject();
is that so or I am making some silly mistake? :)