Q22
Which of the following is true about optional parameters in Ruby methods?
A.
They must be specified during method definition
B.
They have default values assigned
AnswerC.
They are always required
D.
They cannot be used with block parameters
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board