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

How do you know that your class needs a virtual destructor?

Answer Posted / nishikant sahu

If programmer intended to act the class as a BASE class
somewhere then it is rule of thumb or good programming that
you have to have declare your constructor virtual.

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How a new element can be added or pushed in a stack?

1061


Why is c++ awesome?

1085


What is searching?

1194


what is a reference variable in C++?

1289


What jobs can you get with a c++ certification?

1105


What is the use of main function in c++?

1020


What is stl containers in c++?

1092


What is set in c++?

1183


Explain Memory Allocation in C/C++ ?

1117


Can a constructor return a value?

1356


Explain how to initialize a const data member.

1179


Difference between an inspector and a mutator

1391


Can we get the value of ios format flags?

1185


Explain dangling pointer.

1191


What do you mean by function and operator overloading in c++?

1111