MCQs>IT & Programming>Python>In a Python 2 new-style class declared as 'Child(Base)', what is the correct way for a method 'foo()' to call its base implementation?
Python MCQs
In a Python 2 new-style class declared as "Child(Base)", what is the correct way for a method "foo()" to call its base implementation?
Answer
Correct Answer: super(Child, self).foo()
Explanation:
Note: This Question is unanswered, help us to find answer for this one