what is virtual destructor

Answer Posted / maria alex

Normally virtual destructor is used to destroy a base class
object without knowing it's type...

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism and why is it important?

562


What is the main purpose of inheritance law?

673


Why polymorphism is used in oops?

586


program for insertion ,deletion,sorting in double link list

2285


Explain virtual inheritance?

686






is there any choice in opting subjects like 4 out of 7

1733


What is polymorphism explain?

695


What is persistence in oop?

677


What is this pointer in oop?

557


What is advantage of inheritance?

692


Can a destructor be called directly?

607


Can a varargs method be overloaded?

619


Can we define a class within the interface?

555


What are the types of abstraction?

560


What is difference between inheritance and polymorphism?

575