πŸ“Š Ruby
Q. Which keyword is used to exit a loop in Ruby?
  • (A) break
  • (B) stop
  • (C) exit
  • (D) end
πŸ’¬ Discuss
βœ… Correct Answer: (A) break

Explanation: The break keyword terminates a loop.

Explanation by: Rati Dubey
The break keyword terminates a loop.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
94%
Success Rate