Python Programming - Inheritance - Discussion

Discussion Forum : Inheritance - General Questions (Q.No. 70)
70.
How does Python handle multiple inheritance conflicts for method resolution?
By automatically resolving conflicts using the first defined method
By raising an error and requiring explicit resolution using super()
By using the C3 linearization algorithm to determine method resolution order
Multiple inheritance conflicts are not allowed in Python
Answer: Option
Explanation:
Python uses the C3 linearization algorithm to determine the method resolution order in case of conflicts in multiple inheritance.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.