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
drawbacks in assignments in engeenirng

why is programming is needed now-a-days.what is the benefit of colleges to apply heavy loads on students head.

Bitwise Operations 1. Write a function that has an int parameter n, makes an integer mask having the bit 1 at the nth place from the rightmost bit, and returns the mask. For ex

Need help finishing my homework. It''s been 5 years since I''ve use C++. I am a VN.Net programmer. -Todd

#C Why don''t online compilers support the header file? What can I do to resolve this? PS. I have tried , does''nt work either. Thannk in advance.

Write a program to act as an electronic safe. If the correct code has been entered the program should display "Safe Open".  If an incorrect code is input it should display "Alarm"

Q:  Tells the operators one can override; which operators should he override? A: Bottom line: don't puzzle your users. Remember the reason of operator overloading: to decreas

I have a very confusing assignment and I''m struggling to find the right place to begin or how to break the problem down.

Described the difference among "new" and "operator new" ? A:"operator new" works such as malloc.

Please give me a programming code of first & follow with c or c++ laqnguage .When anyone give me the programming code of first & follow please explain every lines with the help