1.

How to comment a single line?(a) Using #(b) Using begin and end(c) Using //(d) None of the mentionedI got this question during an internship interview.The doubt is from Comments in Ruby in division Ruby Basics of Ruby

Answer»

The correct answer is (a) USING #

The best explanation: USE # to COMMENT SINGLE line.



Discussion

No Comment Found

Related InterviewSolutions