Vidyalelo
Ruby Programming · Q57

Basic Syntax in Ruby

Programming · Ruby Programming · question 57

Q57

Which method is used to find the length of an array in Ruby?

A.
.size
B.
.length
Answer
C.
.count
D.
.length_of

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board