M
Q. In Ruby, what does it mean to "freeze" an object?
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 is the output of the given code? counter = -50 while counter <0 puts counter counter+=10 end
Q. Objects of which class does the integer from the range -2^60 to 2^(60-1) belong to?
Q. What does the term "lazy evaluation" refer to in Ruby?
Q. What is the result of the expression 5 > 3 ? "Yes" : "No" in Ruby?
Q. What is the recommended way to document Ruby methods and classes?
Q. What does the attr_accessor method do in Ruby?
Q. In Ruby, what is the keyword used to define a method?
Q. Which method in Ruby is used to write data to a file?
Q. Which of the following are valid floating point literal?
Q. How do you specify a specific version of a gem to be installed in a Gemfile?
Discusssion
Login to discuss.