Q13
Which method is used to check if a variable is nil in Ruby?
A.
.is_nil?
B.
.nil?
AnswerC.
.empty?
D.
.null?
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board