1.

What is a destructor?

Answer»

Contrary to constructors, which INITIALIZE OBJECTS and specify SPACE for them, Destructors are also special methods. But destructors free up the resources and MEMORY occupied by an object. Destructors are automatically called when an object is being destroyed. 



Discussion

No Comment Found