Answer the following statements true (T) or false (F)
1) A catch block can use a concise notation to catch exceptions related by
inheritance.
2) After the last catch block, the required finally block provides code that
always executes regardless of whether or not an exception occurs.
3) If a finally block appears after the last catch block, it is executed only if
an exception is thrown.
4) The finally block is an ideal location for code that releases resources to
prevent “resource leaks.”
5) C# does not guarantee that a finally block (if one is present) will be
executed if a try block is exited via a return, break or continue statement.
1) T
2) F
3) F
4) T
5) F
You might also like to view...
A(n) ________ is method used to organize text in a hierarchy to depict relationships
Fill in the blank(s) with correct word
True or false: The Time Manager is used to retime the playback speed of the game
Indicate whether the statement is true or false