Examveda
Examveda

What is the __init__ method used for in Python classes?

A. It initializes the attributes of an object

B. It defines a method

C. It is a constructor

D. It is a destructor

Answer: Option A


This Question Belongs to Python Program >> Classes And Objects In Python

Join The Discussion

Related Questions on Classes and Objects in Python