A

Admin • 832.27K Points
Coach

Q. How is polymorphism achieved in Python?

  • (A) By inheritance only
  • (B) By interfaces
  • (C) By method overriding and duck typing
  • (D) Using @poly decorator
  • Correct Answer - Option(C)
  • Views: 27
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Python supports polymorphism through method overriding and duck typing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.