Question 493: What is the purpose of the__init__method in a Python class?
tcs
wipro
infosys
general
aptitude
classes
The__init__method is a special method in Python classes that is automatically called when an object is created. It is used to initialize the object's attributes or perform any other setup needed for the object.