5 years ago in Java Exception Handling

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
Loading...
Next Question

Overall Stats

Attempted 562
Correct 221
Incorrect 137
Viewed 204

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 week ago

Shamsa hafeez from Lahore, Pakistan is saying Create our own try and catch block is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying Create our own try and catch block is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying Extend exception class is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying Extend exception class is correct answer

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying Extend exception class is correct answer

Related Questions

parseInt() and parseLong() method throws ________________ ?

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