Question

Which statement is true about nested try-catch blocks?

A The inner catch block must catch the exception before the outer catch block.
B The outer catch block must catch the exception before the inner catch block.
C The order of catch blocks does not matter.
D Only one catch block can handle exceptions in a nested try-catch structure.
Practice Next

Relevant for Exams:

Hey! Ask a query