M
Q. Which concept in OOP allows objects to exhibit multiple behaviors based on their types or class?
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 role of ! at the end of the capitalize method?
Q. What does the `reverse` method do when called on a string in Ruby?
Q. How do you find the number of milliseconds between two Time objects in Ruby?
Q. What will be the output of the given ruby code?
Q. What is the output of the given code? “Ruby”.length #to find the length of given string
Q. Which method in Ruby is used to add an element to the end of an array?
Q. Which command is commonly used to run Test::Unit tests from the command line?
Discusssion
Login to discuss.