πŸ“Š Ruby
Q. In Ruby, what does the `break` keyword do when used within nested loops?
  • (A) Exits only the inner loop
  • (B) Exits only the outer loop
  • (C) Exits all loops
  • (D) Skips the current iteration of the loop
πŸ’¬ Discuss
βœ… Correct Answer: (A) Exits only the inner loop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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