Is deconstructor overloading possible? If yes then explain and if no
Then why?
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 |
Define an Abstract class in C++?
What are the advantages/disadvantages of using #define?
What is Coupling?
What are the major differences between C and C++?
How to input string in C++
What are the advantages/disadvantages of using inline and const?
What is a constructor initializer list?
What does malloc return in C and C++?
Explain the operator overloading feature in C++ ?
What are the costs and benefits of using exceptions?
What is an abstract class?
Write a syntax and purpose of switch statement.