A default exception block must be placed
A. | first among the catch blocks |
B. | last among the catch blocks |
C. | globally at the top of the file |
D. | at the end of all code in program. |
Option: B Explanation : Click on Discuss to view users comments. |
A default catch block catch
A. | all thrown objects |
B. | no thrown objects |
C. |
any thrown objects that has not been caught by an earlier catch block
|
D. |
all thrown objects that have been caught by an earlier catch block.
|
Option: C Explanation : Click on Discuss to view users comments. |
A. | exception |
B. | try |
C. | throw |
D. | catch |
Option: C Explanation : Click on Discuss to view users comments. |