Python | Classes Quiz | Question 18

Last Updated :
Discuss
Comments

Explain the purpose of the __call__ method in a class and provide an example use case.

__call__ is used to create a new instance of a class.

__call__ defines a static method in a class.

__call__ allows instances of the class to be called as functions.

__call__ is not a valid method in Python.

Share your thoughts in the comments