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?



Is deconstructor overloading possible? If yes then explain and if no Then why?..

Answer / 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

More C++ Interview Questions

What are Agilent PRECOMPILERS?

0 Answers   Agilent,


Write a C++ Program to Check Whether a character is Vowel or Consonant.

2 Answers  


Name the operators that cannot be overloaded.

1 Answers   Wipro,


What is a memory leak in C++?

0 Answers   Agilent,


Write a C++ program to print strings in reverse order.

0 Answers   Amdocs,


Tell us the size of a float variable.

0 Answers   Accenture,


What is the meaning of the following declaration: int *const *const *i?

0 Answers   Adobe,


What is a COPY CONSTRUCTOR and when is it called?

0 Answers   IBS,


What are the advantages/disadvantages of using #define?

0 Answers   Amazon,


What is name mangling/name decoration?

0 Answers   Amazon,


What is the 4 difference between delete[] and delete?

0 Answers   Alter,


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


Categories