title: Making a vertical table using multidimensional array
body: <p>I've used a multidimensional to create a table,however when I run it it seems that the table keeps going horizontally, how can I make it line up vertical when it is ran?</p>
  
  <pre><code>public static void main(String args[]){
      int firstarray[][]={{1,2,3,4,5}
                          ,{6,7,8,9,10}};
      int secondarray[][]={{30,31,32,33,}
                          ,{43},{4,5,6}};
  
      System.out.println("This is the first array");
      display(firstarray);
  
      System.out.println("This is the second array");
      display(secondarray);
  }
  public static void display (int x[][]){
      for(int row=0;row&lt;x.length;row++){
          for(int column=0;column&lt;x[row].length;column++){
              System.out.print(x[row][column]+"\t");
          }
      }   
    }
  }
  </code></pre>