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
What is orm in python?
In Python what is slicing?
What made you to choose python as a programming language?
What are key words in python?
Is c harder than python?
Name some python libraries?
Why do lambda forms not have statements?
Explain finally keyword?
How can you keep track of different versions of code?
How will you remove an object from a list?
How fast can you learn python?
Explain the database connection in python flask?
How do you check whether the two variables are pointing to the same object in python?
What will be the output of the code:def foo (i=[])?
Can python be used for automation?