What is the output of the following code in Ruby?
x= "Ruby" + "Strings"
puts x
y= "Ruby" << "Strings"
puts y
z = "Ruby".concat("Strings")
puts z
Correct Answer:
RubyStrings
RubyStrings
RubyStrings
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ruby MCQ Questions