Answer the question
In order to leave comments, you need to log in
What are virtual methods for?
What are virtual methods for?
I know that:
1) a pure virtual method makes a class abstract
2) A regular virtual function is needed to correctly call overloaded functions in derived classes
But what is a virtual destructor for, for example?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question