title: Multi-dimensional arrays in Java
body: <p>I am preparing for OCAJP exam, I got a problem with the multi-dimensional arrays in java. After go through a video tutorial on YouTube, I think I got an idea about how it works.  It says the following statement creates two double dimensional arrays and one array to hold both arrays. Hence it is a three dimensional array.</p>
  
  <pre><code>int arr[][][] = new int[2][4][3];
  </code></pre>
  
  <p>So I want to get confirmed, that if I want a five dimensional array, this statement would do it.</p>
  
  <pre><code> int arr[][][] = new int[4][4][3];
  </code></pre>