Q39
Which Ruby convention is commonly used for naming predicate methods that return a boolean value?
A.
Method names starting with get_
B.
Method names ending with ?
AnswerC.
Method names ending with bool
D.
None of the above
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board