A

Admin • 828.03K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Ruby
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.