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...

when can we use virtual destructor?

Answer Posted / yaggu

Basically, the characteristics it self defines, that
constructor can not be virtual but overloaded while in the
inverse to this, the destructor can not be
overloaded....means there may be more than one constructors
in class and when you create the object of the class,
constructor invokes and when you do not need at the same
time though you define more than one constructors but with
only one destructor we can destroy the object.....that is why...

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a down cast?

1114


What are separators in c++?

1093


Explain the different access specifiers for the class member in c++.

1012


Why is polymorphism useful?

1076


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3881


Can I learn c++ as my first language?

1113


What is an inclusion guard?

1204


What are static and dynamic type checking?

1088


What is function declaration in c++ with example?

1105


Explain about Garbage Collector?

1122


Specify different types of decision control statements?

859


What happens when the extern "c" char func (char*,waste) executes?

1089


What is scope operator in c++?

1085


Which sort does c++ use?

1023


Are strings mutable in c++?

1139