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
Which is the package fastest form of python?
What is list in python?
Which python function will you use to convert a number to a string?
Understanding python super() with __init__() methods?
Why is button parameter “command” executed when declared?
What is the difference between remove() function and del statement?
How do you get the current working directory using python?
How will you differentiate between deep copy and shallow copy?
What is self and init in python?
Does xrange work python 3?
Why is python so powerful?
Explain the use of decorators?
Is python easy to learn if you know c++?
How will you get a 10 digit zero-padded number from an original number?
What is filter python?