Examveda

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)

Answer: Option C


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby