O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Exception Handling

valentinexander 10 perguntas

Fazer o quiz

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

Informações

Descrição
Quiz sobre Exception Handling, criado por valentinexander em 10-12-2014.
Idioma
English
Visualizações
1
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?