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
Point out some of the key features of python?
What is pop in python?
What is difference between raw_input and input in python?
How to improve performance of this code?
How would you implement inheritance in python?
What is python encapsulation?
What is syntax in python programming?
What is uuid used for?
Is there a benefit to using one over the other?
What are the two types of functions in python?
How is python executed?
How is an empty tuple created?
What are the different types of reuest in python?
Why is python faster than r?
How do you represent binary and hexadecimal numbers?