Contents

  1. ./FinallyTest.java

./FinallyTest.java

/**
 * Example using finally block
 * 
 * @author Sara Sprenkle
 */
public class FinallyTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			System.out.println("In try");
			//throw new NullPointerException();
		} catch (Exception e) {
			System.out.println("In Catch");
		} finally {
			System.out.println("In Finally");
		}
	}

}


Generated by GNU enscript 1.6.4.