Java Initialize an array with numbers
<blockquote>
  <p>6, 9</p>
  
  <p>2, 5</p>
  
  <p>4, 6</p>
</blockquote>

<p>how to initialize these number in an 2D array? </p>

<p>this is my answer, but something with output.</p>

<pre><code>int[][] num = new int [3][2];

    num[0][0] = 6;
    num[0][1] = 9;
    num[1][0] = 2;
    num[1][1] = 5;
    num[2][0] = 4;
    num[2][1] = 6;

System.out.println(num);
</code></pre>

<blockquote>
  <p>[[I@70f87478   (output)</p>
</blockquote>
