Being the greenhorn that I am with Java, I'm going to say 2, because each array is an object.
Persistence and determination alone are omnipotent.<br />---Calvin Coolidge
Joined: Dec 18, 2007
int a = new int;
one object here
int b = new int;
But here i am not sure whether it creats 10 objects ? or again one object
Joined: Jan 08, 2008
In the HFJ book, pg. 670 shows a multidimensional array as a single object. So, my guess is each line of your example is a single object. It would be best to get clarification from an expert though...anyone?