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 |
Why python is best for data science?
Can you sort a set in python?
Is real python free?
How to split a string into a list?
Explain about assert statement?
What is the best free ide for python?
What does len () do in python?
Does dataset api support python and r?
What the return key word will do in python functions?
Is r language hard?
Tell me the use of the split function in python?
What is anonymous function or lambda function?