A

Admin • 828.03K Points
Coach

Q. What is inheritance in Ruby?

  • (A) A mechanism by which a class can hide implementation details from another class
  • (B) A mechanism by which a class can inherit properties and behaviors from another class
  • (C) A mechanism by which a class can create multiple instances of another class
  • (D) A mechanism by which a class can hide implementation details from another class
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Ruby
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.