Getting java.lang.ArrayIndexOutOfBoundsException: 3
on this method, anyone know why?
>>53911017
Have you tried using the loo
t[i+1]
>>53911053
Yeah thought that might be it, im trying to make sure the first value in each sub array is increasing, then the 2nd etc.
what is this function supposed to do?
either way, change 'i < t[i].length - 1' to 'j < t[i].length - 1'
>>53911224
Yeah cheers, just spotted that now too haha. Its supposed to determine whether each corresponding value in each subarray is increasing.
for example if i list an array of arrays, the values should be increasing vertically:
1 2 3
2 3 4
5 6 7
>>53911017
Pahjeet....
So make a variable and compare it to the next entry but leave a condition that the variable be checked for vertical increments.
>>53913442
oh wait nevermind you set it to length -1