M

Mr. Dubey • 53.50K Points
Coach

Q. In Ruby, what is the correct way to define a constant?

  • (A) constant_name = value
  • (B) constant name : value
  • (C) CONSTANT_NAME = value
  • (D) constant_name(value)
  • Correct Answer - Option(C)
  • Views: 66
  • 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