Vidyalelo
Python · Q73

Concept of Object Oriented Programs in Python

Programming · Python · question 73

Q73

What is the purpose of the __del__ method in Python classes?

A.
It is called when an object is about to be destroyed
Answer
B.
It deletes an object
C.
It defines a destructor
D.
It is a constructor

Answer: Option A

Solution

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