If inner catch block is unable to handle the exception thrown then__________

If inner catch block is unable to handle the exception thrown then__________
A. The compiler looks for the outer try-catch block
B. Program stops abnormally
C. The compiler will check for appropriate catch handler of the outer try block
D. The compiler will not check for appropriate catch handler of the outer try block
 
Answer: c
Explanation: In such cases, the compiler will try to find an appropriate outer catch block to handle the exception otherwise if nothing is there then occurs the abnormal behaviour of the program.
 

Tìm kiếm

Back
Top