Home / Programming MCQs / Ruby MCQs / Question
M
Q. What is the output of the following? "Iam learning ruby language".length
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. What is the purpose of the private keyword in Ruby classes?
Q. Which metacharacter is used to specify character ranges in a regular expression in Ruby?
Q. In Ruby, what does the extend keyword do?
Q. What is the output of the given code? a=[["a","b"]] b=[["e","a"]] print a + b
Q. What is the purpose of the --development flag when updating gems using Bundler?
Q. What is the correct syntax for creating a hash in Ruby?
Q. What is the output of the following? "Iam learning ruby language".length
Q. What happens if an exception is raised within a rescue block in Ruby?
Q. What is the purpose of the gem update --system command in Ruby?
Discusssion
Login to discuss.