Q. How do you break out of a loop in Ruby?

  • (A) exit()
  • (B) break()
  • (C) continue()
  • (D) end()
πŸ’¬ Discuss
βœ… Correct Answer: (B) break()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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