Vidyalelo
Ruby Programming · Q47

Best Practices and Code Conventions in Ruby

Programming · Ruby Programming · question 47

Q47

What is the purpose of using comments in Ruby code?

A.
To store values that are sensitive and should not be accessed by other parts of the program
B.
To declare variables that are accessible only within a specific scope
C.
To hide sections of code from being executed
D.
To provide additional information and explanations about the code
Answer

Answer: Option D

Solution

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