1.

What is the purpose of Destructor?

Answer»

Destructor is also a special method gets executed automatically when an object exit from the scope. It is just opposite to constructor. In Python, _del_( ) method is used as destructor.



Discussion

No Comment Found