Hi everyone,
I have a class hierarchy with A as the base class, then I have another class B which inherits from A and another class C which inherits from B. so A<--B<--C. I have a method "Read" define in all three classes, but it's only virtual in A and B and not C. I only define A's destructor as virtual but now B and C. My question is should I define B's destructor as virtual too or not.
Regards,