MCQs > IT & Programming > Ruby On Rails > What is the output of the following code in Ruby? x= 'A' + 'B' puts x y= 'C' << 'D' puts y

Ruby On Rails MCQs

What is the output of the following code in Ruby?
x= "A" + "B"
puts x
y= "C" << "D"
puts y

Answer

Correct Answer: AB CD

Explanation:

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

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it