Home / Programming MCQs / Ruby MCQs / Question

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Which will be output for the following code?

Code:
puts "Hello, Ruby!";
(A) Hello, Ruby
(B) Hello Ruby!
(C) Hello, Ruby!
(D) Hello Ruby

Explanation:

This will produce the following result : Hello, Ruby!

You must be Logged in to update hint/solution

Discusssion

Login to discuss.