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

Is oops and c++ same?

1094


Define stacks. Provide an example where they are useful.

1079


Describe friend function & its advantages.

1177


What do you mean by early binding?

1132


Difference between pointer to constant vs. Pointer constant

1214


What is stream and its types in c++?

1106


What does it mean to declare a member function as virtual?

1122


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

1067


What is a try block?

1121


Can I learn c++ as my first language?

1158


What is polymorphism used for?

1112


Describe private, protected and public?

1139


write a programe to calculate the simple intrest and compund intrest using by function overlading

2265


Differentiate between the manipulator and setf( ) function?

1313


what are the types of Member Functions?

1178