Vidyalelo
Ruby Programming · Q22

Data Types and Variables in Ruby

Programming · Ruby Programming · question 22

Q22

Which method is used to convert a string to uppercase in Ruby?

A.
.upcase
Answer
B.
.uppercase
C.
.to_upper
D.
.to_uppercase

Answer: Option A

Solution

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