What does the .upcase method do?
A. Convert the string to uppercase
B. Convert only lowercase string to uppercase and vice-versa
C. Convert the string to lowercase
D. None o the mentioned
Answer: Option A
A. Convert the string to uppercase
B. Convert only lowercase string to uppercase and vice-versa
C. Convert the string to lowercase
D. None o the mentioned
Answer: Option A
What does the 'puts' method do in Ruby?
A. Prints to console
B. Converts to string
C. Finds the length
D. Reads input from user
Join The Discussion