Q46
What is the purpose of the catch and throw keywords in Ruby?
A.
They are used for error handling in asynchronous code
B.
They provide a way to break out of nested loops or blocks
AnswerC.
They are used to define custom error messages
D.
None of the above
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board