Q. Which method is automatically called on object deletion?
Solution:
__del__ is called when an object is about to be destroyed, if defined.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
__del__ is called when an object is about to be destroyed, if defined.
Strengthen Your Practice with our comprehensive question bank.