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
how to get the oracle certification? send me the answer
Why is abstraction needed?
What is abstraction c++?
What is new in c++?
What is a hashmap c++?
What is the difference between delegation and implemented-in-terms-of?
Describe protected access specifiers?
Which is not a valid keyword a) public b) protected c) guarded
What is encapsulation in simple terms?
What is object oriented programming (oop)?
What problems might the following macro bring to the application?
What does it mean to declare a destructor as static?
Is c or c++ more useful?
Are strings mutable in c++?
Can enum be null?