Described virtual destructor?, C/C++ Programming

Described virtual destructor?

Posted Date: 3/16/2013 2:44:26 AM | Location : United States





A: The simple answer is that a virtual destructor is one which is declared along with the virtual attribute. The behavior of virtual destructor is what is significant. If you demolish an object via a caller or reference to a base class, and base-class destructor is not virtual, derived-class destructors are not executed, & destruction may not be complete.

 

Posted by | Posted Date: 3/16/2013 2:44:49 AM


Related Discussions:- Described virtual destructor?, Assignment Help, Ask Question on Described virtual destructor?, Get Answer, Expert's Help, Described virtual destructor? Discussions

Write discussion on Described virtual destructor?
Your posts are moderated
Related Questions
what is oops

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space". Ex


Encapsulation and Data Hiding The property of being a self-contained unit is known as encapsulation. The idea that the encapsulated unit can be used without knowing how it work

BACKGROUND: FILE SYSTEMS  In a computer, a file system (sometimes written filesystem) is the way in which files are named and where they are placed logically for storage and ret


Poker Room auto seat program Project Description: I want a script for an online poker site. It requires to be scanning all the available tables and when the table meets certa

Multiple Inheritance Multiple inheritance , as the name suggests , is  deriving a class from more than one class . The derived class inherits all the properties of all its base c

Write an algorithm for multiplication of two sparse matrices using Linked Lists.