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?

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


Please Help Members By Posting Answers For Below Questions

Can you use python to make apps?

902


What is the use of globals() function in python?

872


How can you unsign or delete variable in python?

860


What does none type mean in python?

893


Is python good for beginners?

902


Why python is referred as glue code?

990


What is lambda function in python?

918


Is python or r more useful?

863


Where will you use while rather than for?

1212


Is python good for windows?

968


How to reverse a string in python

1006


Is there any equivalent to scanf() or sscanf()?

1029


What is sub() function?

1172


What are the programming-language features of python?

989


Is init in python a constructor?

943