Vidyalelo
Ruby Programming · Q13

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 13

Q13

What is the output of "hello".length in Ruby?

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

Answer: Option A

Solution

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