πŸ“Š Ruby
Q. What does the break keyword do in a loop in Ruby?
  • (A) Continues to the next iteration of the loop
  • (B) Exits the loop
  • (C) Skips the current iteration of the loop
  • (D) Resets the loop counter to 0
πŸ’¬ Discuss
βœ… Correct Answer: (B) Exits the loop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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