how many destructor a class can have ?
hey mates help me i will give u 20 points
Answers
Answered by
1
A class can have only one destructor. It can be executed when the control reaches the end of the scope.
Hope this is useful mark me as brainliest lf ur satisfied
Hope this is useful mark me as brainliest lf ur satisfied
Answered by
1
A destructor doesn't have parameter so there can be only one however you can have more than 1 constructor which is not possible with destructor .
HOPE IT'S ENOUGH.
HOPE IT'S ENOUGH.
Anjeelina:
hy
Similar questions