Is deconstructor overloading possible? If yes then explain and if no
Then why?



Is deconstructor overloading possible? If yes then explain and if no Then why?..

Answer / hrpynux@gmail.com

No, we cannot overload a destructor of a class in C++ programming. Only one empty destructor per class should be there.So, multiple destructor with different signatures are not possible in a class. Hence, overloading is also not possible.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ Interview Questions

Discuss about iteration statements in C++ .

0 Answers   Agilent,


Explain the importance of method overloading in C++?

0 Answers   Akamai Technologies, Infogain,


What are the fundamental features of an object-oriented language?

0 Answers   Accenture,


What is the difference between realloc() and free() in C++?

0 Answers   IBS, TCS,


What kind of problems does name mangling cause?

0 Answers   Amazon,






Tell How To Check Whether A Linked List Is Circular ?

1 Answers   IBS, Infosys,


what is friend function in C++?

0 Answers   TCS,


what is the difference between a pointer and a reference?

0 Answers   Amazon, Blue Star, C DAC,


Explain about Searching and sorting algorithms with complexities

0 Answers   Accenture,


Difference between function overloading and function overriding.

0 Answers   Alter,


What is meant by exit controlled loop?

0 Answers   Adobe,


Define namespace.

1 Answers  


Categories