How to find a index from a two dimensional array
<p>What I'm trying to do is print the largest number within a two dimensional array and it's index location. I'm able to find the largest number, but I can't seem to figure out how to print it's index location. Anyway, here's what I have so far:</p>

<pre><code>public static void main(String[] args) {
    int[][] arr = {{4, 44, 5, 7, 63, 1}, {7, 88, 31, 95, 9, 6}, {88, 99, 6, 5, 77, 4}};

    double max = arr[0][0];
    for (int i = 0; i &lt; arr.length; i++) {
        for (int j = 0; j &lt; arr.length; j++) {
            if (arr[i][j] &gt; max) {
                max = arr[i][j];

            }
        }
    }
    System.out.println(max);
    System.out.println(i + j); //No idea what I should be doing here, just trying out everything I can think of 
</code></pre>
