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
- Fall '07
- uncaught exceptions, finally clause, uncaught CHECKED exceptions