A

Admin • 832.70K Points
Coach

Q. What is true about multiple inheritance in Python?

  • (A) Not supported
  • (B) Only for abstract classes
  • (C) Supported using tuple of parent classes
  • (D) Supported using @inherit decorator
  • Correct Answer - Option(C)
  • Views: 21
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Python supports multiple inheritance using the syntax `class Child(Parent1, Parent2):`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.