5 years ago in Java Exception Handling

Which block gets executed compulsory whether exception is caught or not.

[A] finally
[B] throw
[C] throws
[D] catch
Loading...
Next Question

Overall Stats

Attempted 543
Correct 314
Incorrect 52
Viewed 177

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 6 days ago

Shamsa hafeez from Lahore, Pakistan is saying finally is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying throws is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying catch is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying finally is correct answer

Souad El
Souad El - 1 month ago

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

Related Questions

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

What happen behind the code int a=50/0;

  • [A] object of exception class thrown
  • [B] Error in code