What happens when recursion is called twice in a method?
<p>I'm pretty new to programming and I have now come to the concept of recursion. I have solved a few basic assignments but when I come to multible recursion I get terribly lost. I have tried to solve the following recursion several times but just cant get it right.</p>

<p>A recursive method is called with the arguments <code>"ABCD"</code> and <code>2</code>, i.e.  <code>recMethod("ABCD", 2);</code>.</p>

<pre><code>public void recMethod( String str, int n ) {
  if( n &gt;= 0 ) {
     recMethod(str, n – 1);
     System.out.print(str.charAt(n));
     recMethod(str, n – 1);
  }
}
</code></pre>

<p>Is there somebody out there who can explain what is going on? The first recursive call really confuses me.</p>