posted 21 years ago
hello folks,
only case 1 will result in compile Error: "exception java.io.IOException is never thrown in body of corresponding try statement"
i am confused with the outcome: is the error above occurs only on checked exception? if so, how come both case 4,5 compiles successfully? because Exception and Throwable are supposed to be checked exception? or not?