5 years ago in Java Exception Handling

When an array element is accessed beyond the array size , ____ exception is thrown

[A] ArrayElementOutOfLimit
[B] ArrayIndexOutOfBounds Exception
[C] ArrayIndexOutOfBounds
[D] ArrayElementOutOfBounds
Loading...
Next Question

Overall Stats

Attempted 467
Correct 260
Incorrect 55
Viewed 152

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 3 days ago

Shamsa hafeez from Lahore, Pakistan is saying ArrayIndexOutOfBounds Exception is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying ArrayIndexOutOfBounds Exception is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying ArrayIndexOutOfBounds Exception is correct answer

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying ArrayIndexOutOfBounds is correct answer

Salwa Nouamani
Salwa Nouamani - 1 month ago

Salwa Nouamani from Casablanca, Morocco is saying ArrayElementOutOfBounds is correct answer

Related Questions

parseInt() and parseLong() method throws ________________ ?

  • [A] ArithmeticException
  • [B] ClassNotFoundException
  • [C] NullPointerException
  • [D] NumberFormatException

______ is a superclass of all exception classes.

  • [A] Exception
  • [B] Throwable
  • [C] RuntimeException
  • [D] IOException

Which of the following must be true of the object thrown by a throw statement?

  • [A] It must be assignable to the Throwable type
  • [B] It must be assignable to the Error type
  • [C] It must be assignable to the Exception type
  • [D] It must be assignable to the String type