M

Mr. Dubey • 95.58K Points
Coach

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

  • (A) += adds value to existing variable, = assigns value
  • (B) Both operators are the same
  • (C) = adds value, += assigns value
  • (D) += appends to string, = replaces string
  • Correct Answer - Option(B)
  • Views: 77
  • 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