Q4
What is the purpose of the case statement in Ruby?
A.
To define a class
B.
To handle multiple conditions with one expression
AnswerC.
To declare a variable
D.
To perform mathematical calculations
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board