Thursday 11 April 2013

Question: What about Virtual Destructor?


Question: What about Virtual Destructor?

 Answer: Yes there is a Virtual Destructor. A destructor can be virtual as it is possible as at runtime depending on the type of object pointer is pointing to , proper destructor will be called.

No comments:

Post a Comment