Do we have private destructors?

Answer Posted / vaibhav meena

We can have Private Destructor and by using Friend Function
we can also instantiate it. :)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I learn c++ without c?

604


How long it will take to learn c++?

618


Why c++ is the best language?

595


Which one is a preferred language C or C++? Why?

621


Explain what is oop?

620






What are exceptions c++?

595


Does c++ support multilevel and multiple inheritances?

552


What should main() return in c and c++?

529


Is eclipse good for c++?

542


Can a program run without main in c++?

589


When does a 'this' pointer get created?

624


How can we check whether the contents of two structure variables are same or not?

589


What is private public protected in c++?

555


What is c++ runtime?

659


What is the meaning of c++?

546