// RecursionDemo2A.java

public class RecursionDemo2A
{
   public static void methodA(int n)
   {
      System.out.println("methodA begin: n=" + n);
      if (n < 9)
         return;
      methodA(n - 4);
      System.out.println("methodA end:   n=" + n);
   }  // method methodA

   public static void main(String[] args)
   {
      methodA(15);
   }  // method main
}  // class RecursionDemo2A