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 is a pep python?
What is the process to run sub-process with pipes that connect both input and output?
What are dict and list comprehensions?
What are special methods in python and how to implement?
What are python’s dictionaries?
Explain Python packages.
Is python call by reference or value?
What do you mean by python being an “interpreted language”?
Explain how python does compile-time and run-time code checking?
Is python a single inheritance?
How is python used in business?
Is tensorflow written in python?