Question: How can we declare a constant in Ruby? a) Use the const keyword in front of the variable name b) Use the final keyword in
How can we declare a constant in Ruby?
a) Use the const keyword in front of the variable name
b) Use the final keyword in front of the variable name
c) Use the attr keyword in front of the variable name
d) Use the yield keyword in front of the variable name
e) Capitalize at least the first letter of the variable name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
