What is python __ init __?



What is python __ init __?..

Answer / Manish Kumar Srivastava

__init__ is a special method in Python classes that is automatically called when an instance of the class is created. It allows you to define custom initialization logic for your objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What does return none mean in python?

1 Answers  


Is null in python?

1 Answers  


What is python used for today?

1 Answers  


What are list comprehensions in Python?

2 Answers  


How many items are in a list python?

1 Answers  


How do you implement json given that python is best suited for the server-side application?

1 Answers  


Should I learn python before c?

1 Answers  


How will you uit the python?

1 Answers  


What are accessors, mutators, @property?

1 Answers  


What is pandas?

1 Answers  


Why do we need operator overloading?

1 Answers  


How are data types defined in python and how much bytes do integer and decimal data types hold?

1 Answers  


Categories