GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Exception Handling

valentinexander 10 Fragen

Quiz starten

Fragen in diesem Quiz (10)

  1. 1The catch block has ________ parameter(s).
    1. Azero
    2. Bone
    3. Ctwo
    4. Dthree
  2. 2If a method does not catch an exception, then it must at least warn programmers that any invocation of the method might possibly throw an exception. This warning is called a/an:
    1. AException handler
    2. BThrows clause
    3. CTry block
    4. DCatch block
  3. 3All exceptions are descendants of the class:
    1. AThrowable
    2. BCatchable
    3. CTryable
    4. DBlockable
  4. 4A runtime exception is a/an:
    1. Achecked exception
    2. Bunchecked exception
    3. Coffending exception
    4. Dnone of these
  5. 5A _________ block executes regardless of whether an exception occurs.
    1. Afinal
    2. Bfinally
    3. Ccatch
    4. Dnone of these
  6. 6The basic way of handling exceptions in Java consists of the try-catch-throw trio.
    1. ARichtig
    2. BFalsch
  7. 7The two most important things about an exception object are its type and the message that it carries in an instance variable of type String.
    1. ARichtig
    2. BFalsch
  8. 8Exceptions that must follow the Catch or Declare Rule are often called unchecked exceptions.
    1. ARichtig
    2. BFalsch
  9. 9You can not place a try block and its following catch blocks inside a larger try block or inside a larger catch block.
    1. ARichtig
    2. BFalsch
  10. 10ArrayIndexOutOfBoundsException need not be caught or accounted for in a throws class.
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
Quiz am Exception Handling, erstellt von valentinexander am 10/12/2014.
Sprache
English
Aufrufe
1
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck