Java Exception Errors

Descripción

AP Computer Science Test sobre Java Exception Errors, creado por Shannon Anderson-Rush el 25/10/2018.
Shannon Anderson-Rush
Test por Shannon Anderson-Rush, actualizado hace más de 1 año
Shannon Anderson-Rush
Creado por Shannon Anderson-Rush hace más de 5 años
651
0

Resumen del Recurso

Pregunta 1

Pregunta
Thrown when an exceptional arithmetic condition has occurred. For example, an integer "divide by zero" throws an instance of this class. [blank_start]_____[blank_end] is the type of error.
Respuesta
  • ArithmeticException
  • NullPointerException
  • ArrayIndexOutOfBoundsException
  • ClassCastException

Pregunta 2

Pregunta
An Exception that can occur when you try to improperly convert a class from one type to another. [blank_start]____[blank_end] is this type of exception.
Respuesta
  • ArithmeticException
  • NullPointerException
  • ArrayIndexOutOfBoundsException
  • ClassCastException

Pregunta 3

Pregunta
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. [blank_start]___[blank_end] is this type of exception.
Respuesta
  • ArithmeticException
  • ClassCastException
  • ArrayIndexOutOfBoundsException
  • NullPointerException

Pregunta 4

Pregunta
If you try to follow a null reference, you will get this error which tells you that there is no object to reference. [blank_start]____[blank_end] is this type of exception.
Respuesta
  • NullPointerException
  • ArrayIndexOutOfBoundsException
  • ArithmeticException
  • ClassCastException
Mostrar resumen completo Ocultar resumen completo

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr