Unformatted text preview: C. f(10, X, "bye"); prints "array error", "in finally clause" an uncaught InternalError is thrown D. f(10, X, null); prints "null ptr", "in finally clause", "after try block" Part B. Function f doesn't need to have a throws clause that lists the uncaught exceptions that it might throw because only uncaught CHECKED exceptions need to be listed in a method's throws clause. The uncaught exceptions that f might throw are all UNCHECKED exceptions. Page 1 of 1 Exceptions Answers 2008/3/27 http://pages.cs.wisc.edu/~cs367-1/topics/Exceptions/answers.html...
View Full Document
This note was uploaded on 03/27/2008 for the course CS 302 taught by Professor Willbenton during the Fall '07 term at University of Wisconsin.
- Fall '07