A

Admin • 831.35K Points
Coach

Q. Which method is used to print output in Ruby?

  • (A) console.log
  • (B) print
  • (C) echo
  • (D) printf
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Ruby
  • Hashtags:

Explanation by: Admin
The print method outputs data to the screen in Ruby.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.