McqMate
| Q. |
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» C. Throw the exception to the method that called this method, or handle the exception in a catch block. | |
View all MCQs in
Java ProgrammingNo comments yet