T

Team MCQ Buddy • 15.42K Points
Tutor I

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
  • Correct Answer - Option(C)
  • Views: 114
  • Filed under category Ruby

Explanation by: Team MCQ Buddy
This will produce the following result : Hello, Ruby!

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics