Home / Programming MCQs / Ruby MCQs / Question
V
Q. String are
strings are mutable, i.e. strings can be changed in place instead of creating new strings.
You must be Logged in to update hint/solution
How do you create a custom enumerator in Ruby?
What is the difference between nil and false?
What is the extension used for saving the ruby file?
What is the output of the given code? print "2 is less than 3" unless 2>3
What is the purpose of encapsulation in Ruby classes?
Which of the following is the correct way to define a constant in Ruby?
Which testing framework is included in the Ruby standard library?
What is the method used to define a class method in Ruby?
Discusssion
Login to discuss.