Home / MCQ Bank / Computer
Computer Methods In Ruby

In Ruby, how do you define default parameter values for a method?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • def method(param = value)

Related Computer Questions

______ tool can list all the available database schemas. Is the following Python code valid? >>> a=(1,2,3) >>> b=('A','B','C') >>> c=tuple(zip(a,b)) Which is the element that follows the use of “img”? Which of the following selects all elements with a target attribute? Which of the following statements is true concerning subqueries?