What will we the output of the given code? I'am Learning RUBY Language.downcase a) iam learning ruby language
View Question
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 ...
View Question
What is the output of given code?
string=”I’am Learning RUBY Language”.downcase
string.upcase
What is the output of given code? string="I'am Learning RUBY Language".downcase string.upcase a) ...
View QuestionMethods should not be written inside double quotes.
a) True b) False Answer: a Explanation: Always make sure to write methods outside double quotes.
View Question
What will we the output of the given code?
“I’am Learning RUBY Language”.downcase
What will we the output of the given code? "I'am Learning RUBY Language".downcase a) iam learning ...
View QuestionThe downcase method changes the whole string to smallcase letters.
a) True b) False Answer: a Explanation: Changes everything to smallcase.
View Question
What will be the output of the given code?
“I’am learning Ruby Language”.reverse.upcase.length
What will be the output of the given code? "I'am learning Ruby Language".reverse.upcase.length a) 27 b) egaugnal ybuR ...
View Question
What will be the output of the given code?
“I’am learning Ruby Language”.length.reverse.upcase
What will be the output of the given code? "I'am learning Ruby Language".length.reverse.upcase a) 27 b) egaugnal ybuR ...
View Question
What will be the output of the following?
“Ruby”.reverse.upcase
What will be the output of the following? "Ruby".reverse.upcase a) RUBY b) ybuR c) YBUR d) YBUr Answer: c
View QuestionWhat 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 ...
View Question