Q10
What happens if an exception is raised within a rescue block in Ruby?
A.
The program enters a loop to retry the operation
B.
The program continues execution as normal
C.
The program terminates with an error message
D.
The exception is handled by an outer rescue block, if present
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board