public class Driver { public static void main(String [] args) { Foo f = null; /* JT: Students are supposed to write the code so that when a method of f is called but the reference is null, the null pointer exception will be caught and an appropriate status message appears. Hint: The exception type that you are to 'catch' is a NullPointerException and you structure your exception handling mechanism in fashion similar to the previous examples. */ } }