Wednesday, July 23, 2008

About Destructor (~sample)

Ques: Destructor can be private ?
Ans: Of Course we can, make a destructor private when we dont want to delete the instance of the class then we can create a destructor as private.

No comments: