Assume the existence of a class named window with functions named close and freeresources, both of which accept no parameters and return no value . write a destructor for the class that invokes close followed by freeresources.