Vidyalelo
Ruby Programming · Q45

Best Practices and Code Conventions in Ruby

Programming · Ruby Programming · question 45

Q45

What is the purpose of using constants in Ruby programming?

A.
To store values that can be modified during the execution of the program
B.
To declare variables that are accessible only within a specific scope
C.
To store values that are sensitive and should not be accessed by other parts of the program
D.
To define values that remain constant throughout the execution of the program
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board