Vidyalelo
Python · Q36

Classes and Objects in Python

Programming · Python · question 36

Q36

What is a constructor in Python classes?

A.
A special method that is automatically called when an object is created
Answer
B.
A built-in function
C.
A method that creates an object
D.
A method that destroys an object

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board