Beginner
Ruby
Q26 / 100
Which keyword is used to handle exceptions in Ruby?
Correct! Well done.
Incorrect.
The correct answer is B) rescue
B
Correct Answer
rescue
Explanation
Ruby uses "begin ... rescue => e ... end" to catch and handle exceptions.
Progress
26/100