Is deconstructor overloading possible? If yes then explain and if no
Then why?
Answer Posted / 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 View All Answers
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
How did c++ start?
How would you find out if a linked-list is a cycle or not?
In C++ what do you mean by Inheritance?
Program to check whether a word is a sub-string or not of a string typed
Why do we use inheritance?
Is stl part of c++ standard?
What is a modifier in c++?
Give example of a pure virtual function in c++?
Please explain class & object in c++?
Define the process of handling in case of destructor failure?
What are objects in oop?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Which bit wise operator is suitable for checking whether a particular bit is on or off?
What does flush do?