// RecursionDemo1A.java
public class RecursionDemo1A
{
public static void methodA(int n)
{
System.out.println("methodA begin: n=" + n);
if (n > 9)
methodA(n - 4);
System.out.println("methodA end: n=" + n);
} // method methodA
public static void main(String[] args)
{
methodA(15);
} // method main
} // class RecursionDemo1A