// List Example // Print a list of numbers recursively. public class List { public static void main(String[] args) { printList(5); } public static void printList(int n) { if (n > 0) { printList(n - 1); System.out.println(n); // What happens if you interchange // the previous two statements? } } }