Intermediate Python
Q49 / 101

How does Python implement multiple inheritance?

Correct! Well done.

Incorrect.

The correct answer is C) class C(A, B): and method resolution uses the C3 linearization (MRO)

C

Correct Answer

class C(A, B): and method resolution uses the C3 linearization (MRO)

Explanation

Python supports multiple inheritance. The Method Resolution Order (MRO) follows C3 linearization to determine which parent's method to call.

Progress
49/101