MCQOPTIONS
Saved Bookmarks
| 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 | |