1.

What can a method do with a checked exception?

A. Check the exception or ignore it.
B. Return the exception to the sender or handle it in a catch block.
C. Throw the exception to the method that called this method, or handle the exception in a catch block.
D. Handle the exception in the try block or handle the exception in the catch block.
Answer» D. Handle the exception in the try block or handle the exception in the catch block.


Discussion

No Comment Found