
public class MainDriver2 {

	// getting rid of debug version - this is after you've
	// debugged and tested it, and it's ready for release
	public static void main(String[] args) {

		Stack inner = new StackImpl();
		Stack stack = new StackCheckDecorator(inner);
		stack = inner;   // one way to get rid of debug version
		
		// Stack stack = new StackImpl();  // or else do this
		
		stack.push(0);
		stack.push(1);
		stack.pop();
		stack.pop();
		//stack.pop();   
	}
}
