Programming Languages C++ Objective
Mar 20, 2013

Which of the following statement is correct regarding destructor of base class?

Choose the correct answer:
A) Destructor of base class should always be static.
B) Destructor of base class should always be virtual.
C) Destructor of base class should not be virtual.
D) Destructor of base class should always be private.
Detailed Explanation

Option B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback