Exam 11: Handling Exceptions and Events

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

If a negative value is used for an array index, ____.

(Multiple Choice)
4.7/5
(37)

When is a finally block executed?

(Multiple Choice)
4.8/5
(38)

Which of the following is NOT a method of the class Throwable?

(Multiple Choice)
4.8/5
(25)

How many times will the code in the try block in the accompanying figure execute?

(Multiple Choice)
4.9/5
(42)

To handle window events, you first create a class that implements the interface WindowListener and then create and register objects of that class.

(True/False)
4.8/5
(43)

What is the most likely type of exception in the code in the accompanying figure?

(Multiple Choice)
4.8/5
(45)

The class Exception contains two constructors.

(True/False)
4.8/5
(33)

An exception that can be recognized by the compiler is a(n) ____.

(Multiple Choice)
4.9/5
(39)

Every program with a try block must end with a finally block.

(True/False)
4.7/5
(30)

How many constructors does the class Exception have?

(Multiple Choice)
4.8/5
(34)
Showing 41 - 50 of 50
close modal

Filters

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