Exam 11: Exception Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

This is known as the model of exception handling.

Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
Verified

A

An uncaught exception ________.

Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
Verified

C

When an exception occurs it is said to have been ________.

Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
Verified

B

Which of the following exceptions is a checked exception?

(Multiple Choice)
4.9/5
(30)

If the catch-or-declare requirement for a checked exception is not satisfied ________.

(Multiple Choice)
4.9/5
(36)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(36)

Exceptions can be thrown by ________.

(Multiple Choice)
4.8/5
(39)

In the catch block below,what is e? Catch (ArithmeticException e) { System.err.printf(e); }

(Multiple Choice)
4.8/5
(37)

To catch an exception,the code that might throw the exception must be enclosed in a ________.

(Multiple Choice)
4.7/5
(39)

The throws clause of a method:

(Multiple Choice)
4.8/5
(36)

Which of the following statements is true?

(Multiple Choice)
4.8/5
(39)

Which of the following statements is false?

(Multiple Choice)
4.7/5
(36)

Which of the following statements about try blocks is true?

(Multiple Choice)
4.8/5
(42)

Which of the following errors is synchronous?

(Multiple Choice)
4.7/5
(36)

All exception classes inherit,either directly or indirectly,from ________.

(Multiple Choice)
4.8/5
(32)

What is the difference between a try block and a try statement?

(Multiple Choice)
4.8/5
(29)

Which of the following statements is true?

(Multiple Choice)
4.9/5
(34)

Which of the following statements is false?

(Multiple Choice)
4.9/5
(32)

Which of the following is not included in an exception's stack trace?

(Multiple Choice)
4.8/5
(40)

Chained exceptions are useful for finding out about ________.

(Multiple Choice)
4.9/5
(35)
Showing 1 - 20 of 27
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)