R

Ram Sharma • 3.40K Points
Extraordinary

Q. Can a class inherit from multiple base classes in Python?

  • (A) Yes
  • (B) No
  • (C) Only if using interfaces
  • (D) Only with special keyword
  • Correct Answer - Option(A)
  • Views: 32
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma

Python supports multiple inheritance by listing all base classes in parentheses.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.