What is python __ init __ method?
Answer / 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 |
What does unittest main () do?
Write a program to convert all strings in list to integers?
Explain about the programming language python?
What are literals in python?
Is a *.pyd file the same as a dll?
In python, how do I read a file line-by-line into a list?
How to convert sting to number and viceversa in python?
Does python use ram?
What are classes in python?
Which is better python or r?
How do you count in python?
What is the use of the // operator?