title: How to reverse two dimensional java array?
body: <p>I am writing java code for a music demo in which
  I have a java array:</p>
  
  <pre><code>int[][] a = {{1,2,3,},{4,5,6},{7,8,9},{10,11,12};
  </code></pre>
  
  <p>and I want to reverse this array to get this shape:</p>
  
  <pre><code>int[][] b = {{3,2,1},{6,5,4},{9,8,7},{12,11,10}}; 
  </code></pre>
  
  <p>Kindly suggest me some easy solution for it.</p>