If multiple base classes have methods with the same name, method resolution in a derived class follows the _______ rule.

  • FIFO (First In, First Out)
  • LIFO (Last In, First Out)
  • LOO (Last Out, Out)
  • MRO (Method Resolution Order)
In Python, when multiple base classes have methods with the same name, the method resolution follows the Method Resolution Order (MRO) to determine which method to call.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *