Home / Programming MCQs / Ruby MCQs / Question

Y

Yatendra Sir • 5.60K Points
Tutor III

Q. Which statement is used to execute the rescue block again from the beginning after capturing the exception?

(A) retry
(B) raise
(C) ensure
(D) else
Explanation by: Yatendra Sir
Retry is used to execute the rescue block again from the beginning after capturing the exception.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.