Constants Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a constant in Ruby?

A

A constant is a like a variable, except that it’s value is meant to be constant for the duration of the program. So the value should always be the same and not change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly