posted 19 years ago
The nested loop (the second one) goes through each element of the second array. So the first iteration of the outter loop (on x[0]) will cause the inner loop to 4 times (x[i].length), then 5 times, then 2. 11 LINES of out put all up.
Maybe i didn't explain myself properly, it's just that my boss is walking around and i pause, then unpause the explanation.
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA
Live life to an interface, not an implementation!