GRAPHISOFT interview question

Why does base class have virtual destructor?

Interview Answer

Anonymous

27 May 2022

In case of inheritance the destructor wouldn't get called.