πŸ“Š Ruby
Q. What is an enumerator in Ruby?
  • (A) A data structure for storing elements sequentially
  • (B) A method that repeatedly calls a block of code
  • (C) A predefined set of instructions for performing a specific task
  • (D) An object that can be used to iterate over a collection
πŸ’¬ Discuss
βœ… Correct Answer: (D) An object that can be used to iterate over a collection

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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