2) There cannot be more than one destructor in a class . 3) Unlike constructors that can have parameters, destructors do not allow any parameter.
2) There cannot be more than one destructor in a class . 3) Unlike constructors that can have parameters, destructors do not allow any parameter.