0
What does __init__ mean?
5 odpowiedzi
+ 6
it's just a standard name for a method that allow you to istantiate an object of a certain class. Technically is the "Constructor" of a class
+ 2
This is a special type of method in a class.
This method is called constructor
When an instance or class is created then this method is invoked first.
Mainly used to initiate the fields or variables within the class
+ 1
its a constructor which is automatically called when you create a object of a class.
+ 1
it's the constructor method
0
it is a constructor for the given class