6 years ago in Java Exception Handling

The keyword use to declare the Exception

[A] throw
[B] throws
Loading...
Next Question

Overall Stats

Attempted 432
Correct 185
Incorrect 110
Viewed 137

Answers

Guest
Guest
rita elradi
rita elradi - 6 days ago

rita elradi from Casablanca, Morocco is saying throw is correct answer

Meryem Onzy
Meryem Onzy - 1 week ago

Meryem Onzy from Casablanca, Morocco is saying throws is correct answer

MOUAD BOUKNITER
MOUAD BOUKNITER - 1 week ago

MOUAD BOUKNITER from Casablanca, Morocco is saying throw is correct answer

ihsane KHALLOUQ
ihsane KHALLOUQ - 1 week ago

ihsane KHALLOUQ from Casablanca, Morocco is saying throw is correct answer

Mina Aitlhaj
Mina Aitlhaj - 1 week ago

Mina Aitlhaj from Casablanca, Morocco is saying throws is correct answer

Related Questions

Which method is used to print the description of the exception?

  • [A] printStackTrace()
  • [B] printExceptionMessage()
  • [C] printStackMessage()
  • [D] printExceptionTrace()

Arithmetic Exception is

  • [A] Checked Exception
  • [B] Unchecked Exception

To create our own exception class , we have to _______

  • [A] Extend exception class
  • [B] Create our own try and catch block
  • [C] use finally block
  • [D] Use throws keyword

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

  • [A] ArrayElementOutOfLimit
  • [B] ArrayIndexOutOfBounds Exception
  • [C] ArrayIndexOutOfBounds
  • [D] ArrayElementOutOfBounds