virtual-destructor tag

1 questions


1 answers
59 views
0
When is a virtual extinction used?

I understand that I have virtual attached to the constructor or other function,I don't know why virtual is used for extinction.When an object disappears, it automatically calls for an inherited class,...


© 2024 OneMinuteCode. All rights reserved.