In Ruby, what is the keyword used to define a constant?
A. constant_name = value
B. constant name : value
C. CONSTANT_NAME = value
D. constantName(value)
Answer: Option C
Related Questions on Data Types and Variables in Ruby
What is the default value of a variable in Ruby if not initialized?
A. 0
B. nil
C. "undefined"
D. FALSE
Join The Discussion