title: How can I join two Matrix in Java
body: <p>I want to join 2 matrix with the same number of columns and different number of lines, but I'm wondering how can I do this with one command.</p>
  
  <p>I already know how to do this using <strong>for's</strong>, then, I want to know if there is a command in Java that do the job for me.</p>
  
  <p>For example</p>
  
  <pre><code>int m1[][] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
  
  int m2[][] = {{10, 11, 12}, {13, 14, 15}};
  </code></pre>
  
  <p><strong>Magic command to join them into a matrix m</strong></p>
  
  <p><strong>int m = join(m1,m2);</strong></p>
  
  <pre><code>m = 
  
  1 2 3
  
  4 5 6
  
  7 8 9
  
  10 11 12
  
  13 14 15
  </code></pre>