title: 2d Array that swaps all the integers or characters in opposing rows/columns
body: <p>I feel like I'm getting this problem turned around in my head because rows and columns are easy to mix up. Can someone help show me where I'm going wrong.</p>
  
  <pre><code>public static void switchRows( int[][] anArray ){
      int num = 1;
  
      for(int i = 0; anArray.length &gt; i; i++){
          for(int j = 0; anArray[i].length &gt; j; j++){
              int[][] temp = new int[anArray.length][anArray[i].length];
  
              temp[i] = anArray[i];
              anArray[i] = anArray[anArray.length - num];
              anArray[anArray.length - num] = temp[i];
  
          }
          num++;
      }       
  }
  
  public static void switchColumns( char[][] anArray ){       
      int col = 1;
  
      for(int i = 0; anArray.length &gt; i; i++){
          for(int j = 0; anArray[i].length &gt; j; j++){
              char[][] temp = new char[anArray.length][anArray[i].length];
  
              temp[j] = anArray[j];
              anArray[j] = anArray[anArray[i].length - col];
              anArray[anArray[i].length - col] = temp[j];
  
          }
          col++;
      }
  }
  </code></pre>