Vidyalelo
Ruby Programming · Q24

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 24

Q24

What is the result of the expression `"hello".length` in Ruby?

A.
5
Answer
B.
6
C.
Error
D.
"hello"

Answer: Option A

Solution

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