Vidyalelo
Ruby Programming · Q41

Data Types and Variables in Ruby

Programming · Ruby Programming · question 41

Q41

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