Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the given code?
“Come let’s learn.reverse Ruby.length language”.upcase

What will be the output of the given code?
“Come let’s learn.reverse Ruby.length language”.upcase
a) nreal s’tel emoC 4 LANGUAGE
b) Undefined error
c) “COME LET’S LEARN.REVERSE RUBY.LENGTH LANGUAGE”
d) None of the above

Answer: c
Explanation: Methods are never written inside double quotes.
Output: “COME LET’S LEARN.REVERSE RUBY.LENGTH LANGUAGE”

Join The Discussion