 See also

The destructor is called when the object is being collected by the garbage collector to perform some manual clean-up.There is a default destructor method called that can be overridden by declaring your own.The syntax is similar to the one of constructors.