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

What is virtual constructor paradigm?

Answer Posted / priyanka kokil

A virtual destructor is one that is declared as virtual in
the base class and is used to ensure that destructors are
called in the proper order. It is to be remembered that
destructors are called in the reverse order of inheritance.
If a base class pointer points to a derived class object
and we some time later use the delete operator to delete
the object, then the derived class destructor is not called.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a note about the virtual member function?

1055


Should you pass exceptions by value or by reference?

1137


Do class method definitions?

1044


Why cout is used in c++?

1026


Please explain the reference variable in c++?

1069


Out of fgets() and gets() which function is safe to use and why?

1189


How the endl and setw manipulator works?

1017


What are the four main data types?

1085


Is it possible for the objects to read and write themselves?

1109


Why do we use structure in c++?

1082


In a function declaration what does extern means?

1051


Write about the various sections of the executable image?

978


Can I learn c++ without c?

1144


What are the extraction and insertion operators in c++? Explain with examples.

1193


Why we use #include conio h in c++?

1052