What is the output of given code?
string="I'am Learning RUBY Language".downcase
string.upcase
string="I'am Learning RUBY Language".downcase
string.upcaseA. Undefined method
B. "I'AM LEARNING RUBY LANGUAGE"
C. I'am Learning RUBY Language
D. None of the mentioned
Answer: Option B

Join The Discussion