Q20
What is the method used to check if a variable is empty in Ruby?
A.
.empty?
AnswerB.
.is_empty?
C.
.null?
D.
.has_content?
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board