Home / Programming MCQs / Ruby MCQs / Question
M
Q. What is the method used to check if a variable is of a specific class in Ruby?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What is the output of the given code? counter = 0 until counter >= 10 puts counter counter+=1 end
What will the following expression evaluate to? true && false
What is the output of the given ruby code?
What does the month method return for a Date object in Ruby?
What is the output of "hello".upcase in Ruby?
In Ruby, what does the 'if' statement evaluate?
Discusssion
Login to discuss.