Examveda

What does the `reverse` method do when called on a string in Ruby?

A. Reverses the order of characters in the string

B. Reverses the order of words in the string

C. Converts the string to lowercase

D. Converts the string to uppercase

Answer: Option A


Join The Discussion

Related Questions on Arrays, Hashes and Strings in Ruby