what is the role of destruction in classes
Answers
Answer:
1 a temporary state of mind or temper. a cheerful mood. 2 a sullen or gloomy state of mind, esp. when temporary.
Destructors are usually used to deallocate memory and do other cleanup for a class object and its class members when the object is destroyed. A destructor is called for a class object when that object pàsses out of scope or is explicitly deleted.
Destructors are usually used to deallocate memory and do other cleanup for a class object and its class members when the object is destroyed. A destructor is called for a class object when that object pàsses out of scope or is explicitly deleted.
Destructors are usually used to deallocate memory and do other cleanup for a class object and its class members when the object is destroyed. A destructor is called for a class object when that object pàsses out of scope or is explicitly deleted.
Destructors are usually used to deallocate memory and do other cleanup for a class object and its class members when the object is destroyed. A destructor is called for a class object when that object pàsses out of scope or is explicitly deleted.