M

Mr. Dubey • 52.30K Points
Coach

Q. What is the recommended approach for handling exceptions in Ruby?

  • (A) Suppress exceptions by using ignore blocks
  • (B) Use exit to terminate the program when an exception occurs
  • (C) Let exceptions propagate without handling them
  • (D) Use begin and rescue blocks to gracefully handle exceptions

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.