A

Admin • 833K Points
Coach

Q. What is the purpose of method overriding in Ruby?

  • (A) To provide a new implementation for a method in the superclass
  • (B) To hide a method from the superclass
  • (C) To create a new method in the subclass
  • (D) To provide access to private methods
  • Correct Answer - Option(A)
  • Views: 21
  • 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.