Examveda

Which of the following is the correct way to define a constant in Ruby?

A. CONSTANT_NAME = value

B. constant_name : value

C. constant_name = value

D. constantName(value)

Answer: Option A


Join The Discussion

Related Questions on Data Types and Variables in Ruby