Python Programming - Objects - Discussion

Discussion Forum : Objects - General Questions (Q.No. 7)
7.
Which method is automatically called when an object is created?
__new__
__create__
__init__
__construct__
Answer: Option
Explanation:
The __init__ method is automatically called when an object is created in Python, allowing you to initialize the object's attributes.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.