InterviewSolution
Saved Bookmarks
| 1. |
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 mentionedI got this question in unit test.The above asked question is from String Methods in section Ruby Basics of Ruby |
|
Answer» Right option is (a) Convert the string to UPPERCASE |
|