The constructor in python is _____
-
def_init()
-
name of class itself.
-
python_init_
-
init
D
Correct answer
Explanation
Python uses the special method init as the constructor. It's automatically called when a new instance is created and is responsible for initializing the object's attributes.