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 a class run without constructor?

789


Why is python so popular?

850


What does isalpha do in python?

797


Tell us something about garbage collector in python?

866


Tell me what is the difference between xrange and range?

762


What is __ file __ in python?

791


How to print without newline or space?

800


Why do we need Python Directories

854


Explain about classes in strings?

797


What does end do in python?

826


What is time sleep in python?

851


How can you find length of a tuple in python?

747


What are the differences between pass and continue?

885


Is google made with python?

853


How you can access sessions in flask?

922