Given:
and the code fragment:
What is the result?
A. An exception is thrown at line n2.
B. 100
C. A compilation error occurs because the try block is declared without a catch or finally block.
D. A compilation error occurs at line n1.
Given:
and the code fragment:
What is the result?
A. An exception is thrown at line n2.
B. 100
C. A compilation error occurs because the try block is declared without a catch or finally block.
D. A compilation error occurs at line n1.
B, tested
B –> tested