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 |
What is a COPY CONSTRUCTOR and when is it called?
What is an abstract class in C++
0 Answers SwanSoft Technologies,
What is Advantage and Use of THIS pointer in C++ – Scenarios?
What is function overloading and operator overloading in C++?
Write a program to read two numbers from the keyboard and display the larger value on the screen
Write a program to generate the Fibonocci Series in C++.
What is the difference between virtual functions and pure virtual functions?
Briefly explain various access specifiers in C++.
Can we use THIS Pointer in static function – Reason in C++?
What is the difference between an ARRAY and a LIST in C++?
How many times will this loop execute? Explain your answer.
How to convert integer to string in C++