I am facing this type of function:
class Menu: public Activity
{
private:
   // something defined here
public:
   Menu();
   ~Menu();
   // something defined here
}
I am learning C++ and can not understand of how "~Menu()" function works? When will we need this function? Is this something relevant to overload function? Can anyone explain me? Thank you.
 
    