Examveda

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

A. .size

B. .length

C. .count

D. .length_of

Answer: Option B


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby