A

Admin • 832.27K Points
Coach

Q. What is method overriding?

  • (A) Declaring the same method multiple times in a class
  • (B) Using a method without declaration
  • (C) Providing a new definition for a method in a derived class
  • (D) Deleting a method
  • Correct Answer - Option(C)
  • Views: 17
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Method overriding allows a subclass to provide a specific implementation of a method already defined in its parent class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.