Home / MCQ Bank / Computer
Computer Basic Syntax In Ruby

How do you pass arguments to a method in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • method_name(arg1, arg2)

Related Computer Questions

Which is the new attribute of <input> element that is used to change the appearance of checkbox? Which function is used to open a file in C? What will be the output of the following C++ code? #include <stdio.h> #include <math.h> int main () { printf ("The value of -3.1416 is %lf\n", fabs (-3.1416)); return 0; } ______ is added for supporting writing single replica files in memory. The ___________ element must reference a 'linearGradient' or 'radialGradient' element.