Q. What is the correct syntax for a multiline comment in Ruby?

  • (A) /* ... */
  • (B) // ... //
  • (C) ''' ... '''
  • (D) # ... #
πŸ’¬ Discuss
βœ… Correct Answer: (C) ''' ... '''

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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