¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Exception Handling

valentinexander 10 preguntas

Hacer el test

Preguntas del test (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. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  8. 8Exceptions that must follow the Catch or Declare Rule are often called unchecked exceptions.
    1. AVerdadero
    2. BFalso
  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. AVerdadero
    2. BFalso
  10. 10ArrayIndexOutOfBoundsException need not be caught or accounted for in a throws class.
    1. AVerdadero
    2. BFalso

Información

Descripción
Test sobre Exception Handling, creado por valentinexander el 10/12/2014.
Idioma
English
Visitas
1
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?