Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (D) To provide additional information and explanations about the code

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
247
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate