What about virtual destructor?, C/C++ Programming

What about Virtual Destructor?

 

 

Posted Date: 3/15/2013 3:52:38 AM | Location : United States





What about Virtual Destructor?

A: Yes there is a Virtual Destructor. A destructor can be virtual as this is possible as at runtime based on the type of object caller is calling to, correct destructor will be called.

 

Posted by | Posted Date: 3/15/2013 3:53:20 AM

What about Virtual Destructor?

A: Yes there is a Virtual Destructor. A destructor can be virtual as this is possible as at runtime based on the type of object caller is calling to, correct destructor will be called.

 

Posted by | Posted Date: 3/15/2013 3:53:40 AM


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

Write discussion on What about virtual destructor?
Your posts are moderated
Related Questions
Define Polymorphism? A: Polymorphism let a client to treat distinct objects in the similar way even if they were developed from distinct classes and exhibit different behaviors.

write a program that counts the number of occurrences of the string in the n-th Padovan string P(n)   program in java // aakash , suraj , prem sasi kumar kamaraj college

I am an online tutor who can teach computer science and programming language. Is there any requirement for this?

write c program to do the following : -fill 2 dimensional array (square matrix array with size=4). -ask the user to enter any integer number and add this number to the diagonals -o

Abstract Classes Abstract classes are the classes, which are written just to act as base classes. Consider the following classes.                 class base

Recursive Functions Recursion is a process by which a function includes itself with a condition for its safe exit. It is best suitable for a recursive problem. A typical exampl

one of the applications of computers in numerical analysis is computing the area under a curve. one method of calculating the area under acurve is to divide the area int a number o


What is default constructor? explain it.

A:  it is containing and hiding Information regarding an object, like internal data structures and code. It isolates the internal complication of an object's operation from the res