Can we overload constructor in python?



Can we overload constructor in python?..

Answer / Rahul Jha

In Python, constructors are not explicitly overloaded. Instead, when a class is instantiated, Python automatically calls the '__init__' method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

How many hours does a python sleep?

1 Answers  


What is the most "pythonic" way to iterate over a list in chunks?

1 Answers  


How to get current directory using python?

1 Answers  


Write a program to read and write the binary data using python?

1 Answers  


What is superclass and subclass in python?

1 Answers  


Is python zero indexed?

1 Answers  


What is the difference between `list` and `tuple` in Python?

2 Answers  


What is python enumerate?

1 Answers  


What is python? State some programming language features of python.

1 Answers  


What is pip software in the python world?

1 Answers  


What is the difference between pickling vs unpickling?

1 Answers  


How do you include a string in python?

1 Answers  


Categories