1.

How to comment multiple lines in ruby?(a) Using multiline comments(b) Using single line comments(c) No option to comment(d) All of the mentionedThis question was posed to me during an interview for a job.The question is from Comments in Ruby in division Ruby Basics of Ruby

Answer»

The CORRECT CHOICE is (a) USING multiline comments

To explain I would say: MULTIPLE lines can be commented using multiline comments.



Discussion

No Comment Found

Related InterviewSolutions