title: Size of 2d array in Java
body: <p>I defined a 2d array in Java. As I read about it(i.e. 2d array), the first dimension of this 2d array is a pointer (I do not know that is it right or not, please tell me about it). So If I consider it as pointer, in a 64-bit system, what will be the size of below code after execution? </p>
  
  <pre><code>    short [][] array1 = new short [10][];
      short[][] array2 = new short[10][];
      for (int i = 0; i &lt; 10; i++)
          array1[i] = new short[1];
      for (int i = 0; i &lt; 10; i++)            
              array2[i] = array1[i];         
  </code></pre>
  
  <p>Please tell me about the size of above code.</p>