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 the difference between lists and tuples?
What is the difference between read and readlines in python?
What is the dictionary?
Which one is easier r or python?
What is flask?
How to print without newline or space?
Is monkey patching considered good programming practice?
Is true a keyword in python?
What is the encapsulation?
What is the mro in python?
What is json? How would convert json data into python data?
Explain try keyword?
Does pandas recognize dates when importing data?
Explain between deep and shallow copy?
How do you append to a file in python?