Java Exception Errors

Beschreibung

AP Computer Science Quiz am Java Exception Errors, erstellt von Shannon Anderson-Rush am 25/10/2018.
Shannon Anderson-Rush
Quiz von Shannon Anderson-Rush, aktualisiert more than 1 year ago
Shannon Anderson-Rush
Erstellt von Shannon Anderson-Rush vor mehr als 5 Jahre
651
0

Zusammenfassung der Ressource

Frage 1

Frage
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.
Antworten
  • ArithmeticException
  • NullPointerException
  • ArrayIndexOutOfBoundsException
  • ClassCastException

Frage 2

Frage
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.
Antworten
  • ArithmeticException
  • NullPointerException
  • ArrayIndexOutOfBoundsException
  • ClassCastException

Frage 3

Frage
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.
Antworten
  • ArithmeticException
  • ClassCastException
  • ArrayIndexOutOfBoundsException
  • NullPointerException

Frage 4

Frage
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.
Antworten
  • NullPointerException
  • ArrayIndexOutOfBoundsException
  • ArithmeticException
  • ClassCastException
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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