How can I determine the lengths of a multidimensional array where the indices are not equal? For example, this is what I have
int pathList = new int
I need to locate the numbers "6" and "4" without really hard-coding the indices.
I can find 6 using pathList.length, but how to do the same with 4?