Vidyalelo
Ruby Programming · Q20

Data Types and Variables in Ruby

Programming · Ruby Programming · question 20

Q20

What is the method used to check if a variable is empty in Ruby?

A.
.empty?
Answer
B.
.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