Quiz
Exception Handling
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (10)
1The catch block has ________ parameter(s).
- Azero
- Bone
- Ctwo
- Dthree
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:
- AException handler
- BThrows clause
- CTry block
- DCatch block
3All exceptions are descendants of the class:
- AThrowable
- BCatchable
- CTryable
- DBlockable
4A runtime exception is a/an:
- Achecked exception
- Bunchecked exception
- Coffending exception
- Dnone of these
5A _________ block executes regardless of whether an exception occurs.
- Afinal
- Bfinally
- Ccatch
- Dnone of these
6The basic way of handling exceptions in Java consists of the try-catch-throw trio.
- ARichtig
- BFalsch
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.
- ARichtig
- BFalsch
8Exceptions that must follow the Catch or Declare Rule are often called unchecked exceptions.
- ARichtig
- BFalsch
9You can not place a try block and its following catch blocks inside a larger try block or inside a larger catch block.
- ARichtig
- BFalsch
10ArrayIndexOutOfBoundsException need not be caught or accounted for in a throws class.
- ARichtig
- BFalsch
Informationen
- Beschreibung
- Quiz am Exception Handling, erstellt von valentinexander am 10/12/2014.
- Autor
- valentinexander
- Sprache
- English
- Aufrufe
- 1
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz