Question:

Explain how to overload constructors or methods in Python.

Answer:

Python’s constructor – _init__ () is a first method of a class. Whenever we try to instantiate a object __init__() is automatically invoked by python to initialize members of an object.


Keywords:

© 2017 QuizBucket.org