__init__ is part of creation or manipulation of object life cycle? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

__init__ is part of creation or manipulation of object life cycle?

Object is defined and instantiated at the same step (Please correct me with example, if i am wrong). So __init__ should be part of object creation part.

28th Sep 2016, 12:18 PM
Rohit Kumar
2 Answers
+ 3
yes, part of object(/class) creation
28th Sep 2016, 5:00 PM
freginold
freginold - avatar
+ 1
thanks
9th Oct 2016, 7:36 PM
Jean-Charles guillaume
Jean-Charles guillaume - avatar