Home / Programming MCQs / Ruby MCQs / Question
M
Q. Which metacharacter is used to specify optional characters in a regular expression in Ruby?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Objects of which class does the integer from the range -2^60 to 2^(60-1) belong to?
In Ruby, what does the `capitalize` method do when used with strings?
What does the \d character class represent in a regular expression in Ruby?
Assignment operator is also known as relational operator.
Which method is used to retrieve file attributes in Ruby?
What is the main advantage of using encapsulation in Ruby?
Which of the following are used for comparison?
How do you define a lambda in Ruby?
Discusssion
Login to discuss.