MCQs > IT & Programming > Ruby > Consider the following Interactive Ruby Shell console quotes. In one of the quotes, => is not the real irb result. Which of the following is that quote?

Ruby MCQs

Consider the following Interactive Ruby Shell console quotes. In one of the quotes, => is not the real irb result.
Which of the following is that quote?


Answer

Correct Answer: irb(main):001:0&gt; "hello"[2]<br> =&gt; "e"

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it