I was wondering, does array.length give you the number of elements in the array, or the size of the space inside the array that you declared. For example if I declare the following array:
int [] Array = new Array[10];
and then add one element to the array, will array.length be 1 or 10?
Also is there any way to find the other number. For example if array.length corresponds to the number of elements in the array, is there any way to find the space inside of the array?