Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can I have a reference as a data member of a class? If yes, then how do I initialise it?

1161


What is meant by entry controlled loop? What all C++ loops are exit controlled?

1020


Which is better struts or spring?

992


What is solid in oops?

1044


What operators can you overload in c++?

996


What are guid?

1184


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.

6879


What are the classes in c++?

1055


Define virtual constructor.

1036


What is a multimap c++?

1142


What is a flag in c++?

1012


What are the costs and benefits of using exceptions?

1016


What is late binding c++?

927


What are associate containers?

976


Why is destructor used?

963