Examveda

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: Option D


Join The Discussion

Related Questions on Best Practices and Code Conventions in Ruby