M
Q. In Ruby, what does the 'if' statement evaluate?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What will be the output of the given ruby code?
Q. What is the significance of using the super keyword in a Ruby class?
Q. In Ruby, what does the `yield` keyword do in a method?
Q. What is the output of the given code? counter = 2 while counter < 68 puts counter counter**=2 end
Q. Ruby can deal with both numbers and floating point values.
Q. Which of the following is the correct way to define a range in Ruby?
Q. Which of the following features does the 2.0 version of ruby supports?
Q. Which naming convention is commonly used for method names in Ruby?
Q. What is the output of the given code? a= 5 b=10 while a <10 && b<20 puts a-b a+=2 b+=2 end
Q. What is the method used to check the data type of a variable in Ruby?
Discusssion
Login to discuss.