1.

You responsible for maintaining an application that was written by a former colleague at XYZ._x005F_x000D_  _x005F_x000D_ The application reads from and writes to log files located on the local network. The original author included the following debugging code to facilitate maintenance:_x005F_x000D_ try {Debug.WriteLine(“Inside Try”);throw(new IOException());}catch (IOException e) {Debug.WriteLine (“IOException Caught”);}catch (Exception e) {Debug.WriteLine(“Exception Caught”);}.finally {Debug.WriteLine (“Inside Finally”);}Debug.WriteLine (“After End Try”);_x005F_x000D_  _x005F_x000D_ Which output is produced by thus code?

A. Inside Try Exception Caught IOException Caught Inside Finally After End Try
B. Inside Try Exception Caught Inside Finally After End Try
C. Inside Try IOException Caught Inside Finally After End Try
D. Inside Try IOException Caught Inside Finally
Answer» D. Inside Try IOException Caught Inside Finally


Discussion

No Comment Found