M

Mr. Dubey • 96.25K Points
Coach

Q. What is the difference between =~ and == operators?

  • (A) =~ checks for string pattern matching, == checks for equality
  • (B) =~ checks for equality, == checks for string pattern matching
  • (C) Both operators are the same
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 76
  • 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.


Question analytics