Home / Programming MCQs / Ruby MCQs / Question
V
Q. Constants in ruby begin with ?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What will be the output of the given code? "Come let's learn.reverse Ruby.length language".upcase
What is the output of the given code? a=["hey", "ruby", "language"] b=[1, 2, 3] puts b[1] puts a[2]
What does the == operator do in Ruby?
What is the default return value of a method in Ruby?
What is the result of calling a method in Ruby without parentheses?
What is the syntax for defining an instance method in Ruby?
Which of the following is not type of operator in ruby?
What is the output of the given code? counter = true while counter !=false puts counter end
Discusssion
Login to discuss.