Home / Programming MCQs / Ruby MCQs / Question
V
Q. single-quoted strings don`t allow ?
single-quoted strings don`t allow substitution and allow backslash notation only for \ and '.
You must be Logged in to update hint/solution
What is the significance of using the include? method in Ruby's Enumerable module?
Which method is used to convert a string to an array of characters in Ruby?
What is an enumerator in Ruby?
What is the purpose of abstraction in OOP?
In Ruby, which keyword is used to refer to the current instance of a class?
What is the output of the given code? i = 0 while i < 5 puts i i=(i+1)**2 end
Discusssion
Login to discuss.