Dear candidates you will find MCQ questions of Ruby here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
my_string=Ruby puts(my_string)
Explanation: Ruby should be written in double quotes inorder to indicate a string.
Explanation: single-quoted strings don`t allow substitution and allow backslash notation only for \ and '.
Explanation: Integer within this range are objects of the class fixnum.