πŸ“Š Ruby
Q. Which statement is used to restarts the invocation of the iterator call?
  • (A) break
  • (B) next
  • (C) redo
  • (D) retry
πŸ’¬ Discuss
βœ… Correct Answer: (D) retry

Explanation: If retry appears in the iterator, the block, or the body of the for expression, restarts the invocation of the iterator call. Arguments to the iterator is re-evaluated.

Explanation by: Vinay Kumar
If retry appears in the iterator, the block, or the body of the for expression, restarts the invocation of the iterator call. Arguments to the iterator is re-evaluated.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
247
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Vinay Kumar
Publisher
πŸ“ˆ
96%
Success Rate