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

What is the difference between lists and tuples?

903


What is the difference between read and readlines in python?

800


What is the dictionary?

867


Which one is easier r or python?

881


What is flask?

875


How to print without newline or space?

833


Is monkey patching considered good programming practice?

815


Is true a keyword in python?

792


What is the encapsulation?

851


What is the mro in python?

936


What is json? How would convert json data into python data?

908


Explain try keyword?

935


Does pandas recognize dates when importing data?

972


Explain between deep and shallow copy?

800


How do you append to a file in python?

882