1.

What does %{Learn ruby language} represents?(a) “Learn Ruby language”(b) “%{Learn Ruby language}”(c) ” Learn Ruby language ”(d) None of the mentionedI had been asked this question in an online quiz.I want to ask this question from Formatting String Methods topic in chapter Ruby Basics of Ruby

Answer»

Right option is (a) “LEARN RUBY LANGUAGE

The best explanation: Anything written INSIDE %{} is same as anything written inside “”.



Discussion

No Comment Found

Related InterviewSolutions