πŸ“Š Ruby
Q. What is the primary purpose of the else keyword in Ruby exception handling?
  • (A) To manually raise an exception
  • (B) To execute code when no exceptions are raised
  • (C) To begin an exception handling block
  • (D) To manually raise an exception
πŸ’¬ Discuss
βœ… Correct Answer: (B) To execute code when no exceptions are raised

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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