/**
 * In Java 25, the main method no longer needs to be static and the
 * String[] args parameter is optional.
 *
 * However, the instance main method *only* works if there is a default
 * constructor for the class.  Uncomment the constructor provided below;
 * then, compile and run the program to see the error that occurs.
 * Then, remove the parameter to the constructor; compile and run again.
 *
 * Takeaway: the instance main method is best used when you create Compact
 * Source File (i.e., don't define classes).
 * 
 * @author SaraSprenkle
 */
public class AltMainDemo {
	
	/*
	public AltMainDemo(int param) {
		// Defining this constructor (only), with no default constructor
		// breaks the instance main method.
	}
	*/

	public void main() {
		System.out.println("New main!");
	
	}

}