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

I want to modify the above answer. A constructor cannot be
virtual because at the time when the constructor is invoked
the virtual table would not be available in the memory.
Hence we cannot have a virtual constructor. But we can have
virtual destructor which is defined in Answer #2

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is multimap sorted c++?

1016


What is tellg () in c++?

1316


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

1142


Which function should be used to free the memory allocated by calloc()?

1029


What is iomanip c++?

1083


Explain the difference between c & c++?

1102


How to declaring variables in c++?

1167


What is c++ prototype?

1225


What is a local reference?

1196


What you know about structures in C++?

1092


Explain the term memory alignment?

1249


Why is c++ still best?

990


Where Malloc(), Calloc(), and realloc() does get memory?

1062


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1093


How is c++ used in the real world?

1044