1.

Which operator is overloaded by __lg__()?(a) (c) !=(d) none of the mentionedI had been asked this question in an interview for internship.The above asked question is from Operator Overloading topic in division Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python

Answer»

The CORRECT ANSWER is (d) NONE of the mentioned

Easiest explanation - __lg__() is invalid.



Discussion

No Comment Found

Related InterviewSolutions