|
yes because the .length attribute of arrays returns the number of elements in the array. and then, in the for loop, you do i < studentContactManager.length, in which it will iterate through each index of the array (and will never go out of bounds, because you did <. if you put <= it would throw an ArrayIndexOutOfBoundsException at runtime). So good job on that. I can see that you're learning =]
__________________
//Haha javac, can't see me now, can ya?
|