/* Helene Martin, Garfield AP CS, 2009
	Demonstration of methods calling methods
	We used the jGrasp debugger to look at the call stack */
public class FlowControl { 
	public static void methodOne() { 
		System.out.println("foo"); 
		methodThree(); 
	} 
	public static void methodTwo() { 
		System.out.println("bar"); 
		methodOne(); 
	} 
	public static void methodThree() { 
		System.out.println("baz"); 
	} 
	public static void main(String[] args) { 
		methodOne(); 
		methodThree(); 
		methodTwo(); 
	} 
} 

