πŸ“Š Ruby
Q. What is the purpose of the rescue keyword in Ruby?
  • (A) To handle exceptions and execute alternative code paths
  • (B) To define a new module
  • (C) To create a new instance of a class
  • (D) To add module methods to a single object
πŸ’¬ Discuss
βœ… Correct Answer: (A) To handle exceptions and execute alternative code paths

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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