Shannon Anderson-Rush
Quiz por , criado more than 1 year ago

Quiz sobre Java Exception Errors, criado por Shannon Anderson-Rush em 25-10-2018.

650
0
0
Shannon Anderson-Rush
Criado por Shannon Anderson-Rush mais de 5 anos atrás
Fechar

Java Exception Errors

Questão 1 de 4

1

Thrown when an exceptional arithmetic condition has occurred. For example, an integer "divide by zero" throws an instance of this class. is the type of error.

Arraste e solte para completar o texto.

    ArithmeticException
    NullPointerException
    ArrayIndexOutOfBoundsException
    ClassCastException

Explicação

Questão 2 de 4

1

An Exception that can occur when you try to improperly convert a class from one type to another. is this type of exception.

Arraste e solte para completar o texto.

    ArithmeticException
    NullPointerException
    ArrayIndexOutOfBoundsException
    ClassCastException

Explicação

Questão 3 de 4

1

Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array. is this type of exception.

Arraste e solte para completar o texto.

    ArithmeticException
    ClassCastException
    ArrayIndexOutOfBoundsException
    NullPointerException

Explicação

Questão 4 de 4

1

If you try to follow a null reference, you will get this error which tells you that there is no object to reference. is this type of exception.

Arraste e solte para completar o texto.

    NullPointerException
    ArrayIndexOutOfBoundsException
    ArithmeticException
    ClassCastException

Explicação