O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Review Questions

1:List three examples of typical exceptions.
2:What are the advantages of handling exceptions with try-catch-finally?
3:Which class is at the top of the exceptions class hierarchy?
4:How many catch and finally blocks can be attached to a try block?
5:What happens to normal execution flow when an exception is thrown inside a try block?
6:How can a catch block match an exception?
7:If no abnormal conditions were experienced, where is the flow of execution transferred after a try block has finished executing?
8:What happens if an exception is thrown in a try block but no matching catch blocks are found?
9:What happens if a catch block throws an exception?
10:What is the purpose of the finally block?
11:Which class must you derive from to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required