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 |
Explain encapsulation in C++.
What are the fundamental features of an object-oriented language?
What are the advantages/disadvantages of using #define?
What are the advantages and disadvantages of B-star trees over Binary trees?
What is a COPY CONSTRUCTOR and when is it called?
Is deconstructor overloading possible? If yes then explain and if no Then why?
How many times will this loop execute? Explain your answer.
What is latest update of C++ ?
In C++ what is a vtable and how does it work?
Can we use THIS Pointer in static function – Reason in C++?
What is a virtual function in C++?
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.