Answer the following statements true (T) or false (F)

1) If an exception handler is to catch a variety of exceptions, use a comma-
separated list of catch arguments in the catch handler.
2) Exception handlers typically access objects in their try blocks to
determine the causes of the exceptions.
3) Variables local to a try block are usable in the corresponding catch
and finally blocks.
4) A NullReferenceException is thrown when there's an attempt to use a
reference that points to nothing.
5) There must be a catch clause for every expected exception type.

1) F
2) F
3) F
4) T
5) F

Computer Science & Information Technology

You might also like to view...

To see a thumbnail list of pages in a document, do which of the following?

A) Click the Arrange All button. B) Click the Side to Side button. C) Open the Navigation pane and select Headings. D) Open the Navigation pane and select Pages.

Computer Science & Information Technology

Which of the following is an example of resource-intensive programs that might require more RAM?

A) Image editing software like Adobe Photoshop B) Text editing software Notepad C) Word processing software like Microsoft Word D) Calculator

Computer Science & Information Technology