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

Why is it so that we can have virtual constructors but we
cannot have virtual destructors?

Answer Posted / sachinmundhra

vptr gets initialize in constructor. So in that case we
cannot have virtual constructor.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is super in oop?

1085


What is polymorphism explain?

1189


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2040


Where is pseudocode used?

1028


What is basic concept of oop?

1104


Write a c++ program to display pass and fail for three student using static member function

3323


What are the benefits of interface?

992


Can we create object of interface?

1063


can we make game by using c

4035


is there any choice in opting subjects like 4 out of 7

2131


What is the use of oops?

993


explain sub-type and sub class? atleast u have differ it into 4 points?

2255


What is inheritance in simple words?

1009


What are the two different types of polymorphism?

1086


What is polymorphism and why is it important?

981