FileDocCategorySizeDatePackage
DebugClass.javaAPI DocExample704Mon Feb 23 12:51:30 GMT 2004org.cookbook.ch05

DebugClass.java

/*
 * Created on Feb 19, 2004
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package org.cookbook.ch05;

/**
 * @author Steven Holzner
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class DebugClass
{
	public static int temperature = 72;
	
	public static void main(String[] args)
	{
		for(int loopIndex = 3; loopIndex >= 0; loopIndex--)
		{
			System.out.println(loopIndex + "...");
			if(loopIndex == 0)
			{
				System.out.println("Cocoa Beach, we have liftoff.");
			}
		}
	}
}