title: code after recursion call
body: <p>Why after recursion call the System.out.println(res) still run? I thought it will never reach the System.out.println(res);</p>
  
  <pre><code>public class recursion
  {
      public static void main(String[] args)
      {
          recursion p = new recursion();
          p.perms(4, "");
      }
  
      public void perms(int remaining, String res)
      {
          if (remaining &gt; 0) {
             perms(remaining - 1, res + "1");
              System.out.println(res);
          }
      }
  }
  </code></pre>