Vidyalelo
Ruby Programming · Q9

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 9

Q9

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

A.
"hello"
B.
"Hello"
C.
"HELLO"
Answer
D.
"heLLo"

Answer: Option C

Solution

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