• +91 9723535972
  • info@interviewmaterial.com

Ruby Interview Questions and Answers

Question - How will you comment in Ruby.

Answer -

Ruby comments are non-executable lines in a program. They do not take part in the execution of a program.

Single line comment syntax:

#This is single line comment.  
Multi line comment syntax:

=begin  
This  
is  
multi line  
comment  
=end  

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners