Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is python __ init __ method?



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

Post New Answer

More Python Interview Questions

What is the difference between encapsulation and abstraction in python?

0 Answers  


How do I sort a dictionary by value?

0 Answers  


How do I run python setup py?

0 Answers  


What is purpose of __init__ in class ? Is it necessary to use __init__ while creating a class ?

0 Answers  


Write a program to check whether the object is of a class or its subclass.

1 Answers  


Write program to validate the email address in python?

0 Answers  


What is whitespace in python?

0 Answers  


What does the meaning of gil in python language?

0 Answers  


What is pytest?

0 Answers  


What is the output of the following?

0 Answers  


Can __ init __ return value?

0 Answers  


What is abstraction in python?

0 Answers  


Categories