Can destructors be virtual?
Every destructor down gets called no matter what. virtual makes sure it starts at the top instead of the middle. Read more at this stackoverflow answer.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes