A

Admin • 828.03K Points
Coach

Q. Which keyword is used to create a class in Ruby?

  • (A) class
  • (B) def
  • (C) module
  • (D) object
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category Ruby
  • Hashtags:

Explanation by: Admin
'class' keyword is used to define a class in Ruby.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.