πŸ“Š Ruby
Q. What is the purpose of the loop keyword in Ruby?
  • (A) To iterate over a collection of elements
  • (B) To create an infinite loop
  • (C) To perform a comparison operation
  • (D) To exit a loop based on a condition
πŸ’¬ Discuss
βœ… Correct Answer: (B) To create an infinite loop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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