Examveda

What is a constructor in Python classes?

A. A special method that is automatically called when an object is created

B. A built-in function

C. A method that creates an object

D. A method that destroys an object

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