Discussion :: Ruby Programming MCQs
-
What is the output of the given code?print "Hey"puts "Everyone!"print "We are learning Ruby"
Answer : Option D
Explanation :
Print prints whatever is given and puts in addition to printing it inserts a new blank line.
Be The First To Comment