Q. What is an exception in Ruby?

  • (A) A way to group related methods and constants
  • (B) A method for defining variables
  • (C) An unexpected event that disrupts the normal flow of the program
  • (D) A predefined object in Ruby
πŸ’¬ Discuss
βœ… Correct Answer: (C) An unexpected event that disrupts the normal flow of the program

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
145
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate