A

Admin • 828.03K Points
Coach

Q. Which operator is used for string concatenation in Ruby?

  • (A) +
  • (B) &
  • (C) ++
  • (D) .
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category Ruby
  • Hashtags:

Explanation by: Admin
The '+' operator concatenates strings in Ruby.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.