Q5
What is a method resolution order (MRO) in Python?
A.
The order of methods in a class
B.
The order in which classes are defined
C.
The order in which methods are executed
D.
The order in which base classes are searched
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
The method resolution order (MRO) determines the order in which base classes are searched for a method or attribute.