Q. Which loop in Ruby allows you to iterate over a collection of elements?

  • (A) while
  • (B) for
  • (C) until
  • (D) each
πŸ’¬ Discuss
βœ… Correct Answer: (D) each

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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