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
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
Which is better struts or spring?
What is solid in oops?
What operators can you overload in c++?
What are guid?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What are the classes in c++?
Define virtual constructor.
What is a multimap c++?
What is a flag in c++?
What are the costs and benefits of using exceptions?
What is late binding c++?
What are associate containers?
Why is destructor used?