Like a constructor ...
Can a destructor be overloaded ?
Pls give reasons too...
No, destructors cannot be overloaded.
And why is that..?
Is it not possible for a destructor to destruct in different ways..?
Yes, a destructor can be overloaded.
You should make the base destructor virtual. That guarantees that the destructors of all derived classes are called.
The destructor has of course only one form
because it's called automatically
coder777: You're confusing overloaded and overridden.
hmmm ...what exactly could be the use of that ...?
making it virtual ?
I don't think it classifies as "overloading"