There has to be only one Destructor in a class . A Destructor has no return type and no parameters. If we do specify a destructor in class then, the compiler creates a default destructor.
There has to be only one Destructor in a class . A Destructor has no return type and no parameters. If we do specify a destructor in class then, the compiler creates a default destructor.