title: Does order in a declaration of multidimensional array have an influence on used memory?
body: <p>How many bytes will be allocated for <code>a</code> and <code>b</code>?</p>
  
  <pre><code>import android.graphics.Bitmap;
  
  Bitmap[][][] a = new Bitmap[1000][2][2];
  Bitmap[][][] b = new Bitmap[2][2][1000];
  </code></pre>
  
  <p>Note that I'm only asking about the memory taken by pure arrays, no objects inside. </p>
  
  <p><sub>Why I'm asking? Because I'm writing an Android game. For me the order doesn't matter, but if there is a memory difference, it will be good to save some.</sub></p>