What is the output of the given code? Ans=Ruby puts "#{Ans} is an oop language" puts "It is very efficient langauge" puts "#{expr} is used on rails platform"

Question:
What is the output of the given code?

Ans=Ruby
    puts "#{Ans} is an oop language"
    puts "It is very efficient langauge"
    puts "#{expr} is used on rails platform"

1.Error, no output

2.Ruby is an oop language It is very efficient langauge undefined local variable

3.Ruby is an oop language It is very efficient langauge #{expr} is used on rails platform

4.None of the mentioned

Posted Date:-2022-02-07 04:18:02


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!