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 |
Mention the use of the split function in Python?
How to redirect the output of a python script from standout(ie., A monitor) on to a file?
Which certification is best for python?
What is anagram in python?
What is the main use of python?
Is youtube written in python?
What is range() in python? Give an example to explain it.
Why do you need to make your code more readable?
How do you install a sphinx python?
In oops what is a diamond problem in inheritance?
How to encrypt a string?
Does python have a built in function for string natural sort?