Home / Report Question

Q. What is the main advantage of using exception handling in Ruby?
  • A. It allows for graceful recovery from errors
  • B. It prevents errors from occurring
  • C. It simplifies the syntax of Ruby code
  • D. It improves the performance of Ruby programs

Correct Answer: A