A

Admin • 833K Points
Coach

Q. What is the MRO (Method Resolution Order)?

  • (A) Order in which variables are declared
  • (B) Order of class instantiation
  • (C) Order in which base classes are searched for a method
  • (D) Order of object destruction
  • Correct Answer - Option(C)
  • Views: 27
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

MRO defines the order in which Python looks for a method in multiple inheritance.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.