Destructor is a member function having the character ~(tilled) followed by a function name which is same as the class name and automatically executed when the object goes out of scope(block) or, the object is no longer needed.
No comments :
Post a Comment