Python - Constructors and Object Initialization
Which of these statements about the __init__ method is TRUE?
Which of these statements about the __init__ method is TRUE?
__init__ purpose__init__ initializes a new object and is called automatically on creation.__init__ does not return the object, can be called multiple times (for each new object), and is not for deletion.__init__ is called automatically when a new object is created. -> Option C__init__ auto-called on new object [OK]__init__ runs automatically on object creation [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions