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

what is oops and list its features in c++?

1045


What are the advantages of prototyping?

1051


How many types of scopes are there in c++?

1093


Where are setjmp and longjmp used in c++?

1101


Why cout is used in c++?

1022


What is the difference between cin.read() and cin.getline()?

1065


How to get the current position of the file pointer?

1023


Is dev c++ a good compiler?

955


Why do we learn c++?

953


Write about c++ storage classes?

1182


what is data encapsulation in C++?

1053


What is encapsulation in c++ with example?

991


Explain what are accessor methods?

1110


explain the reference variable in c++?

1049


What are pointer-to-members? Explain.

1128