Vidyalelo
Ruby Programming · Q109

Basic Syntax in Ruby

Programming · Ruby Programming · question 109

Q109

What is the output of the given code? Ans=Ruby puts "#[Ans] is an oop language"

A.
Error, no output
B.
Ruby is an oop language
Answer
C.
Warning:already initialized constant Ans
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board