Multiplying 2d array in java
<p>I have declared an array that i would like to multiply the value of the first column  by value of the second column of each row and create a grand sum of these products. I have tried the code listing below, what am i missing</p>

<pre><code>public class Arrays {
    public static void(String[] args) {

        int array_x[][]={{9,8},{2,17},{49,4},{13,119},{2,19},{11,47},{3,73}};
        int sum = 0;

        for (int i = 0; i &lt; array_x.length; i++) {
            for (int j = 0; j &lt; array_x.length; j++) {
                array_x[i][j] = i * j;
                System.out.println("\n" + array_x[i][j])
            }
        }

    }
}
</code></pre>

<p>The output should be something like
9*8=72
2*17=34 etc then sum the whole results as 72+34+....</p>
