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

Explain terminate() function?

1015


What is meant by const_cast?

1078


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

1010


Can a constructor be private?

1028


How do you invoke a base member function from a derived class in which you have not overridden that function?

1077


What is the main feature of oop?

1105


Which type does string inherit from?

1066


In what situations do you have to use initialization list rather than assignment in constructors?

1019


Define a nested class.

1033


Explain 'this' pointer and what would happen if a pointer is deleted twice?

1021


what is C++ objects?

1158


Write some differences between an external iterator and an internal iterator?

975


What is the difference between global variables and local variable

1001


Specify some guidelines that should be followed while overloading operators?

1143


What is the significance of classes in oop?

1072