user image

Preeti Tripathi

Digital Marketing
Digital Marketing
2 years ago

14. What does Python's __init__ mean?

user image

Abhishek Mishra

2 years ago

In OOP terminology, the reserved function __init__ is equivalent to constructors in Python classes. Every time a new object is initiated, the __init__ method is automatically invoked. The new object is given memory as soon as it is created using this technique. Variables can also be initialized using this technique.

Recent Doubts

Close [x]