M

Mr. Dubey • 52.26K Points
Coach

Q. What does the '<<' operator do when used with arrays in Ruby?

  • (A) Adds an element to the beginning of the array
  • (B) Adds an element to the end of the array
  • (C) Removes the last element from the array
  • (D) Concatenates two arrays

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.