Shannon Anderson-Rush
Test por , creado hace más de 1 año

AP Computer Science Test sobre Java Exception Errors, creado por Shannon Anderson-Rush el 25/10/2018.

651
0
0
Shannon Anderson-Rush
Creado por Shannon Anderson-Rush hace más de 5 años
Cerrar

Java Exception Errors

Pregunta 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.

Arrastra y suelta para completar el texto.

    ArithmeticException
    NullPointerException
    ArrayIndexOutOfBoundsException
    ClassCastException

Explicación

Pregunta 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.

Arrastra y suelta para completar el texto.

    ArithmeticException
    NullPointerException
    ArrayIndexOutOfBoundsException
    ClassCastException

Explicación

Pregunta 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.

Arrastra y suelta para completar el texto.

    ArithmeticException
    ClassCastException
    ArrayIndexOutOfBoundsException
    NullPointerException

Explicación

Pregunta 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.

Arrastra y suelta para completar el texto.

    NullPointerException
    ArrayIndexOutOfBoundsException
    ArithmeticException
    ClassCastException

Explicación