What will be the output of the given code?
"I'am learning Ruby Language".length.reverse.upcase
"I'am learning Ruby Language".length.reverse.upcaseA. 27
B. egaugnal ybuR gninreal ma'I
C. ERAUGNAL YBUR GNINREAL MA'I
D. Undefined method 'reverse' for 27:Fixnum
Answer: Option D
Related Questions on Basic Syntax in Ruby
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