M

Mr. Dubey • 52.66K Points
Coach

Q. What does the zip method do in Ruby enumerators?

  • (A) Removes duplicate elements from a collection
  • (B) Applies a block of code to each element and returns a new collection
  • (C) Reverses the order of elements in a collection
  • (D) Combines elements from multiple collections into arrays
  • Correct Answer - Option(D)
  • Views: 46
  • Filed under category Ruby

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.


Question analytics