Ruby - Error Handling
What will be the output of this Ruby code?
value = 10 / 0 rescue 'division error' puts value
value = 10 / 0 rescue 'division error' puts value
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions