Vidyalelo
Ruby Programming · Q15

Basic Syntax in Ruby

Programming · Ruby Programming · question 15

Q15

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

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

Answer: Option C

Solution

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