R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the method resolution order (MRO)?

  • (A) Order in which instance variables are resolved
  • (B) Order of method inheritance in multiple inheritance
  • (C) Order of class declaration
  • (D) Execution order of constructors
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
MRO determines the order in which base classes are searched when executing a method.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.