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

In c++ there is only virtual destructors, no constructors. Why?

Answer Posted / jos collin

The VTable is created at compile-time itself. But properly
initialized at runtime, including vptr.

Virtual Mechanism is possible only with completely
constructed objects. The constructor is called when the
object is not created completely, it is not allowed.

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a constructor and a destructor?

1171


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4079


Why multiple inheritance is not allowed?

1074


What are oops functions?

961


How to use CMutex, CSemaphore in VC++ MFC

4736


how to get the oracle certification? send me the answer

2100


what is different between oops and c++

2455


What is the significance of classes in oop?

1058


What is overloading in oops?

1091


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2139


What is an advantage of polymorphism?

1029


What is the main feature of oop?

1097


What are two types of polymorphism?

1012


which feature are not hold visual basic of oop?

2147


How do you use inheritance in unity?

1024