Answer Posted / jithesh sunny
__INIT__ method in the python is a special method used for initializing an class attributes or objects. It can be read as "DUNDER INIT". Usually it will take up an argument called SELF, which is a reference to the object that is created or called.
SELF in python is same as THIS in JAVA. And __INIT__ is also know as constructor in JAVA.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you use python to make apps?
What is the use of globals() function in python?
How can you unsign or delete variable in python?
What does none type mean in python?
Is python good for beginners?
Why python is referred as glue code?
What is lambda function in python?
Is python or r more useful?
Where will you use while rather than for?
Is python good for windows?
How to reverse a string in python
Is there any equivalent to scanf() or sscanf()?
What is sub() function?
What are the programming-language features of python?
Is init in python a constructor?