Question: Question 9 A method should only handle exceptions which it expects and which it knows how to process. All the other exceptions must be left
Question 9
A method should only handle exceptions which it expects and which it knows how to process. All the other exceptions must be left to the calling method.
| True | |
| False |
Question 10
The code within the finally block is always executed, no matter how the program flow leaves the try block. This guarantees that the finally block will be executed even if an exception is thrown or a return statement is executed within the try block.
| True | |
| False |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
