

InterviewSolution
Saved Bookmarks
1. |
Which function overloads the == operator?(a) __eq__()(b) __equ__()(c) __isequal__()(d) none of the mentionedThis question was posed to me in a national level competition.Question is taken from Operator Overloading topic in chapter Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python |
Answer» The correct choice is (a) __eq__() |
|