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 mutex and binary semaphore?
What is difference between n and endl in c++?
What is new keyword in oops?
Can you please explain the difference between overloading and overriding?
Difference between overloaded functions and overridden functions
What is the meaning of string in c++?
Which is the best c++ compiler for beginners?
Why struct is used in c++?
What is a local reference?
How do you declare a set in c++?
What is a multimap c++?
How much do coding jobs pay?
What is class in oop with example?
Name the implicit member functions of a class.
Define stacks. Provide an example where they are useful.