Vidyalelo
Ruby Programming · Q72

Basic Syntax in Ruby

Programming · Ruby Programming · question 72

Q72

What will be the output of the given code? "I'am learning Ruby Language".reverse.upcase.length

A.
27
Answer
B.
egaugnal ybuR gninreal ma'I
C.
ERAUGNAL YBUR GNINREAL MA'I
D.
Undefined method 'reverse' for 27:Fixnum

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board