πŸ“Š Ruby
Q. What is the purpose of the retry keyword in Ruby?
  • (A) It resumes execution at the beginning of the block where an exception was rescued
  • (B) It re-runs the entire program from the beginning
  • (C) It raises an exception if an error occurs during method execution
  • (D) It restarts the current iteration of a loop
πŸ’¬ Discuss
βœ… Correct Answer: (D) It restarts the current iteration of a loop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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